commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter_F...@blm.gov
Subject Re: parse xml with digester
Date Mon, 27 Oct 2008 19:36:22 GMT
If you're mapping a POJO to XML and vice-versa, I'd consider looking at
Commons Betwixt rather than messing with Digester directly.

--Pete

mteccles <mark.t.eccles@googlemail.com> wrote on 10/26/2008 06:22:59 PM:

>
> Hi,
>
> I have an XML document like follows:
>
> <item att1="" att2="">
>    <item att1="" att2="">
>       <item att1="" att2="">
>       </item>
>    </item>
>    <item att1="" att2="">
>    </item>
> </item>
>
> Simply a nested structure of one complex element having two required
> attributes.
>
> I write a POJO that match this structure, what code would read the xml
> document and parse into the Java object?
> --
> View this message in context: http://www.nabble.com/parse-xml-with-
> digester-tp20179874p20179874.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message