[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: ignore DOCTYPE
If the <!DOCTYPE ...> is removed from the input XML file, the transformation is working fine. Since the XML file is validated before it is copied to (ftp) the machine where I want to perform the transformation, I do not want to validate the XML input file again either locally or remotely. I just want to skip this line without removing it during the transformation locally. Thank you very much. -----Original Message----- From: Goetz Bock [mailto:bock@xxxxxxxxxxx] Sent: Monday, May 21, 2001 2:59 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: ignore DOCTYPE On Mon, May 21 '01 at 14:36, Jih, Felix wrote: > How to ignore the <!DOCTYPE ...> line during the transformation? It's not possible, the XML processor uses it while reading the source document. I've some DTDs MSXML does not accept, while they are valid according to the wording (but not the "spirit") of the XML recommendation (and the person who wrote/manages the DTD's can not be convinced otherwise). While Xerces does accept the DTD, some other XML processors don't like the DTD, but luckely some XSL-T processors can be configured to use a non validating XML processor. Get one of this, Goetz. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|