Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Help with XMLReader setProperty method
 
It's not a secret anymore!