pointers for parsing dynamic xml elements
"Michael Cornell" <[email protected]>
| Newsgroups | gmane.text.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am looking for some pointers as to what technology to use for parsing xml
of the following form:
<root>
<object ID="">
<attr_name>balance_object</attr_name>
<attr_value>Balance</attr_value>
</object>
<object ID="">
<attr_name>object</attr_name>
</object>
</root>
into a List of MyRow objects each containing a getId() and a
getColumn(String columnName) [where columnName could be attr_name]
In addition this xml does not always look the same as the 3rd tier of names
can change
<root>
<object ID="23">
<attr_type>the_object</attr_type>
</object>
<object ID="34">
<attr_type>an_object</attr_type>
</object>
</root>
Can anyone please help by pointing me in the right direction (and sorry in
advance if this is the wrong forum)
/Michael
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 08/10/2004