Hi Ying,
Class javax.xml.parsers.SAXParserFactory has methods
setValidating/isValidating. They should do.
Thanks,
Dmitry
-----Original Message-----
From: Wu, Ying (LNG-CIS) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 06:23
To: '[EMAIL PROTECTED]'
Subject: transforming, how to disable validation
I need to transform a xml file, which contains a doctype node:
<!DOCTYPE PUB-ENTRY SYSTEM "\\a.dtd">
The transforming process will first validate the input file.
Is there any xalan API to tell the Process do not validate, just transform?
Both command line and java code are OK, I just don't want to get into the
parser level.
Thanks,
Ying Wu
301-941-2953