The XML schema using types from another schema should contain a
<xsd:import> element, typically with an attribute
schemaLocation="«path»"
and possibly also one like
namespace="«URI»
Then you call xjc, compile, and so on.
-W
On Mon, Feb 1, 2010 at 3:00 PM, boraldo <boraldo_at_hotbox.ru> wrote:
>
> I have 2 xsd's. Elements of first can contain elements of types defined in
> second.
> How can I unmarshall xml ?
> --
> View this message in context:
> http://old.nabble.com/How-to-unmarshal-nested-xsd-schemas---tp27404636p27404636.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>