Subject: RE: [xsl] ignore DOCTYPE From: "Jih, Felix" <felix.jih@xxxxxxxxx> Date: Mon, 21 May 2001 15:21:19 -0700 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] ignore DOCTYPE, David Carlisle | Thread | Re: [xsl] ignore DOCTYPE, Goetz Bock |
Re: [xsl] ignore DOCTYPE, David Carlisle | Date | Re: [xsl] ignore DOCTYPE, Goetz Bock |
Month |