xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liam Brennan" <brennan_l...@hotmail.com>
Subject SAX DTD validation help - Urgent
Date Fri, 09 May 2003 20:30:53 GMT

Could someone please explain to me how to use a DTD in a xalan-java program 
which would validate an XML file using this DTD, (without actually referring 
to the DTD in the XML file)

i intend to have a java program which would work from the command line like 

java myProgram -xml xmlfile.xml -dtd dtdfile.dtd

i just cant figure out where to initialise/place the dtd filename

- in the SaxParserFactory class you can only do setValidating(true) but you 
cant say which dtd file to use

any help would be greatly appreciated

The new MSN 8: advanced junk mail protection and 2 months FREE* 

View raw message