[XML-SIG] XML Objectify.. how to iterate through child tags?

Terence Lo tlo at alias.com
Wed Oct 29 16:47:25 EST 2003


Say I have an xml file (test.xml) that contains:

<test>
	<a>aaa</a>
	<b>bbb</b>
	<c>ccc</c>
</test>

source = XML_Objectify('test.xml').make_instance()

How do I dynamically iterate through the children tags and values of <test>?

I'd like to do something similar to what DOM does, (ie. childnode[0],
childnode[1].. etc)

Is this possible?  Anyone know? Any help would be greatly appreciated.

Thanks in advance.
t





More information about the XML-SIG mailing list