Hi,
I took a look at work done by
Mukul<http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java?revision=912100&view=markup>for
serializing an XSModel into lexical, XSD systax. But I have know some
more details about that XSSerializer class.
Is the purpose of this class to take an XSModel object as an input an then
create DOM document out of it? As Mukul has mentioned in the code, what does
the term "lexical, XSD syntax" means in "XSModel serialization utility. *
This utility serializes the Xerces XSModel into lexical, XSD syntax."? Does
it mean that it's creating a DOM representation of the XSModel object? I'm
trying to implement SCD support for Xerces. So do you have any idea about
how to use the output of the method transformXSModelToDOM() in implementing
SCD? Can we use both XSModel and the output of transformXSModelToDOM()
method to traverse a schema documet? What is the purpose of having two
representations? Also, Is there a similar implementation for SAX as well?
Any help or comment is highly appreciated.
Thanks in advance.