Hi David,

David Kelvin <[EMAIL PROTECTED]> writes:

> How do I do this in Xerces?

I took a quick look and it seems that this information is not
preserved in SchemaGrammar. I guess the easiest way would be
to load the schema in a DOM document or run a SAX2 parser on
it to get to this attribute. With the SAX2 parser you can
abort it (e.g., by throwing an exception) as soon as you
get to the attribute.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Reply via email to