A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
XML and Related Technologies
Author
Help with XMLReader setProperty method
srinivasan gopalan
Greenhorn
Joined: Aug 02, 2006
Posts: 2
posted
Aug 02, 2006 09:24:00
0
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
subject: Help with XMLReader setProperty method
Similar Threads
XMLReader / SAXParser.getReader() ??
Stop Xerces from requesting DTD
XSD & DTD ?
For all SCWCD guys : Doubts
SAXParser Factory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter