[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ignore DOCTYPE

Subject: RE: ignore DOCTYPE
From: "Jih, Felix" <felix.jih@xxxxxxxxx>
Date: Mon, 21 May 2001 15:21:19 -0700
xml 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.