Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 57330 invoked from network); 28 Oct 2008 15:31:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 15:31:41 -0000 Received: (qmail 548 invoked by uid 500); 28 Oct 2008 15:31:41 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 492 invoked by uid 500); 28 Oct 2008 15:31:40 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 481 invoked by uid 99); 28 Oct 2008 15:31:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 08:31:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of crackeur@comcast.net designates 76.96.30.64 as permitted sender) Received: from [76.96.30.64] (HELO QMTA07.emeryville.ca.mail.comcast.net) (76.96.30.64) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 15:30:25 +0000 Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id YD1E1a0280FhH24A7FX4R7; Tue, 28 Oct 2008 15:31:04 +0000 Received: from your55e5f9e3d2 ([67.161.51.57]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id YFX31a00Q1E2z8r8UFX3Tz; Tue, 28 Oct 2008 15:31:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=2z1OXlWFAAAA:8 a=mV9VRH-2AAAA:8 a=8pif782wAAAA:8 a=dWWCWa-CmSVZbFY6xBcA:9 a=WQ_nA28N6lPv46izfyUA:7 a=ePTsY4LYVt0LSMnv_QArqR3ltlkA:4 a=88iI8knYSJUA:10 a=9xyTavCNlvEA:10 a=v47ZLdibA2YA:10 Message-ID: <004801c93912$30063ec0$0402a8c0@your55e5f9e3d2> From: "jimmy Zhang" To: "Commons Users List" References: <4906DF9B.6010403@apache.org> Subject: Re: parse xml with digester Date: Tue, 28 Oct 2008 08:31:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Virus-Checked: Checked by ClamAV on apache.org 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" To: "Commons Users List" 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 > > Peter_Ford@blm.gov 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 wrote on 10/26/2008 06:22:59 PM: >> >> >>> Hi, >>> >>> I have an XML document like follows: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> 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: 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