Have a look at Jakarta Commons Digester: 
http://jakarta.apache.org/commons/digester/

On 13.10.2004 14:13:34 Michael Cornell wrote:
> 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)


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to