Hi

I have a question on Xerces-J which I have spent days and not able to get anywhere.

I am trying to use the XML Schema API (XSModel, XSLoader, XS*) to parse a XML schema file. I use the xs.QueryXS.java sample that comes together with the xerces-262 download as my code base. However, it seems that I can only get as far as to list the global element and type. I am not able to find out details of a complex type declaration. The xsd that I uses is the purchaseOrder.xsd from the XML Schema primer.

Can anyone help me by pointing me to some code samples that traverses the whole xsd file using the XS* classes ?
I have thought about using PSVI, however, it seems to be that I need to have both XSD and XML file (which I do not have) in order to take that approach.

Thanks and best regards

Reply via email to