RakeshBhandari
asked on
Counting xml nodes in actionscript
please look at the attached structure of the xml file
i want to count the number of <photo> in actionscript 2.0
it will be really helpful if you can directly give me a code rather than give me a link where someone has done something similar
i want to count the number of <photo> in actionscript 2.0
it will be really helpful if you can directly give me a code rather than give me a link where someone has done something similar
<?xml version="1.0" encoding="ISO-8859-1" ?>
<IgalleryX>
<photos>
<photo>
<content src="pic/10.jpg" />
<caption content="Issue 10" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/11.jpg" />
<caption content="Issue 11" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/12.jpg" />
<caption content="Issue 12" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/13.jpg" />
<caption content="Issue 13" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/14.jpg" />
<caption content="Issue 14" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/15.jpg" />
<caption content="Issue 15" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/16.jpg" />
<caption content="Issue 16" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/17.jpg" />
<caption content="Issue 17" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/18.jpg" />
<caption content="Issue 18" />
<link src="http://www.nirmalbang.com"/>
</photo>
<photo>
<content src="pic/19.jpg" />
<caption content="Issue 19" />
<link src="http://www.nirmalbang.com"/>
</photo>
</photos>
</IgalleryX>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER