Also you may want to try to try vtd-xml, which just releases an extended edition supporting
256 GB max file size

http://vtd-xml.sf.net


----- Original Message ----- From: "Simon Kitching" <[EMAIL PROTECTED]>
To: "Commons Users List" <[email protected]>
Sent: Tuesday, October 28, 2008 2:47 AM
Subject: Re: parse xml with digester


Digester has extensive examples. See here:

http://svn.apache.org/repos/asf/commons/proper/digester/trunk/src/examples/

These examples are also in the digester "source distribution" download.

Regards,
Simon

[EMAIL PROTECTED] schrieb:
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 <[EMAIL PROTECTED]> 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?


--
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)


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




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

Reply via email to