all groups > flash data integration > may 2006 >
You're in the

flash data integration

group:

Dataset


Dataset temptationxy
5/27/2006 3:14:53 PM
flash data integration: 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?

Re: Dataset Sankalan
5/29/2006 1:00:25 PM
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 )
AddThis Social Bookmark Button