Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / May 2006



Tip: Looking for answers? Try searching our database.

Dataset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
temptationxy - 27 May 2006 16:14 GMT
Hi,

i have one XML data. it similiar :
<menu>
    <newmenu>
      <name>name</name>
      <text>bla bla...</text>
    </newmenu>
    <newmenu>
      <name>name</name>
      <text>bla bla...</text>
    </newmenu>
  </menu>

from this XML how can i find my data?

for example : my_dataset.menu[1].newmenu[2].name

is it possible?
Sankalan - 29 May 2006 14:00 GMT
Hello,

-- If you have this XML data as string, then you can convert it to the
XMLDocument.
Then simply you can parse this XML doc in ActionScript as FirstChild,
ChildNodes etc.

-- If you have this XML in a *.xml file then you can load this XML file as:
doc = new XML();
doc.load ("*.xml");
Then you can parse the XML.

Hope this will solve your problem.

Thanks

Sankalan
( www.mindfiresolutions.com )
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.