users@jaxb.java.net

RE: Re: Getting contents of xsd:any element

From: Vallamshettla, Anand <Anand.Vallamshettla_at_tgslc.org>
Date: Mon, 16 May 2005 16:01:19 -0500

Thanks for the reply. I couldn't find anything about DOM annotation in
JAXB tutorial/docs. Would you be able to provide an example or point me
to some documentation?

Thanks in Advance,
Anand Vallamshettla

-----Original Message-----
From: Aleksei Valikov [mailto:valikov_at_gmx.net]
Sent: Monday, May 16, 2005 3:37 PM
To: users_at_jaxb.dev.java.net
Subject: Re: Getting contents of xsd:any element

Hi.

> Did any one figure out how to retrieve XML content out of element of
> type xsd:any?? (JAXB 1.0). Jaxb seems to assign Discarder content
> handler to handle the content.
>
> I would appreciate if any one can provide some work around for this.

Annotate it as xjc:dom and retrieve a normal DOM element.

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