Getting at a schema component's id attribute

Peter Keller <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Dear all,

I have been trying to figure out how to get the value of the "id" attribute 
of a schema component, but have got nowhere. Can anyone help?

Slightly more explicitly: if my XSD contains a type definition like this:

<complexType name="MyType" id="some_identifier_or_other">
...
</complexType>

and I have an instance of this type "myTypeInstance", is there some way that 
I can access the value of "id" by using "myTypeInstance.SchemaType()", or 
otherwise?

Regards,
Peter.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.