Read
https://jaxb.dev.java.net/tutorial/section_6_2_7_5-Collecting-Unspecified-Attributes-XmlAnyAttribute.html
and
https://jaxb.dev.java.net/tutorial/section_6_2_7_6-Collecting-Unspecified-Elements-XmlAnyElement.html
-W
On Thu, Nov 12, 2009 at 4:21 PM, Lulseged Zerfu <lulseged.zerfu_at_ericsson.com
> wrote:
> Thanks
>
> I have already compiled and get @XmlAnyElement, @XmlAnyAttribute.
>
> But when unmarshalling a document, how do I access this elements?
>
> Lulseged
>
> -----Original Message-----
> From: aleksei.valikov_at_gmail.com [mailto:aleksei.valikov_at_gmail.com] On
> Behalf Of Aleksei Valikov
> Sent: den 12 november 2009 15:55
> To: users_at_jaxb.dev.java.net
> Subject: Re: any
>
> Hi,
>
> > I wonder what JAXB is doing with xs:anyAttribute and xs:any? (red
> text).
> >
> > It is used for extensibility. May include one or more elements from
> > any other namespaces.
> >
> > If JAXB handles extensible types, are there any examples some where?
>
> Yes, these cases are supported. You'll get @XmlAnyElement,
> @XmlAnyAttribute or other things depending on the schema.
> Try compiling.
>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>