users@jaxb.java.net

Re: I am looking for a SAX echo sample to traverse the xml file and write it in console

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Wed, 27 Aug 2008 08:29:25 +0200

http://developers.sun.com/sw/building/codesamples/sax/

and there is StAX if you want to use an stream and do event-based parsing:

http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP2.html

good luck :)

On Wed, Aug 27, 2008 at 7:30 AM, Aleksei Valikov <valikov_at_gmx.net> wrote:
> Hi.
>
>> Is there any sample code for SAX to show me how I can traverse an XML
>> document and print its content in the output?
>
> I think this has something with JAXP to do, not with JAXB.
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>