Hi,
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 this
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 Thanks.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
