File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Help with XMLReader setProperty method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Help with XMLReader setProperty method" Watch "Help with XMLReader setProperty method" New topic
Author

Help with XMLReader setProperty method

srinivasan gopalan
Greenhorn

Joined: Aug 02, 2006
Posts: 2
I need a method to set the DTD of the XMLReader.

This is how I set the XSD of the XMLReader.


XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");

parser.setProperty(�http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation�, �D:\xsd\today.xsd�);

I need a method similar to this so that I can set the DTD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with XMLReader setProperty method