[prev in list] [next in list] [prev in thread] [next in thread]
List: python-xml-sig
Subject: [XML-SIG] XML Objectify.. how to iterate through child tags?
From: tlo () alias ! com (Terence Lo)
Date: 2003-10-29 16:49:07
Message-ID: 00ef01c39e66$3deab2b0$8d411dc6 () ms ! aliaswavefront ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic