logo       

Re: Problems trying to use annotation support in v2: msg#00122

text.xml.xmlbeans.user

Subject: Re: Problems trying to use annotation support in v2

On Wed, 19 Jan 2005 17:18:00 -0700, Jim McMaster
<jim.mcmaster@xxxxxxxxxxx> wrote:
> [... snip ...]
> >
> >
> Okay, but how do I get access to the SchemaLocalElement?

SchemaLocalElement schemaElement
= (SchemaLocalElement) obj.schemaType.getContentModel().getParticleChild(0)

The content model can contain a schema local element directly or a
sequence (which would have other elements embedded)

--
Paul Webster
The only gracious way to accept an insult is to ignore it. If you can't
ignore it, top it. If you can't top it, laugh at it. If you can't laugh
at it, it's probably deserved.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise