You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Dmitry Kundo <dk...@checkpoint.com> on 2006/04/11 15:52:24 UTC

How to access custom attributes on element declaration?

Hi all,

 

Schema allows putting custom attributes on element declaration, like:

 

<xs:element name="MyElement" type="MyType" minOccurs="0" myAttr1="value1"
myAttr2="value2"/>

 

I'm using the XSModel for traversing schemas and I'd like to access the
custom attributes as well but couldn't find any suitable API.

 

Does anybody know how to do it?

 

Thanks and Regards,

Dmitry