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

Valid doctype-system output

Subject: Valid doctype-system output
From: Jesse Wolff <wolff.jesse@xxxxxxxx>
Date: Wed, 25 May 2005 18:39:29 -0700
doctype system
Hi -
 
I have the following at the top of my XSLT to output a doctype declaration:

<xsl:output method="xml" indent="no"
doctype-system="http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd"/>

With most XSLT Processors I've used (Saxon, MSXML, XMLSpy) this will output
the following doctype declaration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd">

One XSLT Engine engine I'm using, SAP, outputs the following with the single
quotes and the extra brackets and carriage return:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE cXML SYSTEM 'http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd' [
]>

Is this a valid doctype declaration for an XSLT processor to generate?
They're saying that it's valid based on the XML standard but a number of our
vendors have trouble parsing this. I didn't see anything specific in the
XSLT standard about this.

Thanks,
Jesse

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.