Hi.
> Sorry for the mess:
> Here are the methods exist on XSContentType:
>
> - apply(XSContentTypeFunction<T> function)
>
> - XSContentType asEmpty()
> If this content type represents the empty content, return
> this, otherwise null.
> - XSParticle asParticle()
> Equivalent of (this instanceof XSParticle)?this:null
> - XSSimpleType asSimpleType()
> Equivalent of (this instanceof XSSimpleType)?this:null
> - void visit(XSContentTypeVisitor visitor)
I'm sorry I can't help much since I'm no XSOM pro, but I think you have to use
the visitor.
Bye.
/lexi