users@jaxb.java.net

Re: Re: any

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Thu, 12 Nov 2009 16:35:27 +0100

Hi,

> I have already compiled and get @XmlAnyElement, @XmlAnyAttribute.
>
> But when unmarshalling a document, how do I access this elements?

Have you tried reading the Javadoc for starters?
@XmlAnyElement will give you DOM Element or unmarshalled object
depending on lax settings. @XmlAnyAttribute is basically a Map<QName,
String>.

Bye.
/lexi