Hello everybody, Sorry if this has been covered in previous threads.
I am trying to gather information about all element ans its type for XML Schema against which XML Document is validated. I am using SAX parser to parse XML documents as have to walk to large documents. Xerces documentation says that you can use PSVI for this, but was not getting how to proceed further having this PSVIParser instance; import org.apache.xerces.impl.xs.psvi.PSVIProvider; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; ... SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser parser = factory.newSAXParser(); PSVIProvider psviProvider = (PSVIProvider)parser; In above where do we really point that which XML document its going to parse. Can you please help in getting proceeded from this step. Thanks in advance Huzefa __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
