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 )