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
>
>