• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with XMLReader setProperty method

 
srinivasan gopalan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic