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

RE: XSLT Question: Inserting a DOCTYPE decl

Subject: RE: XSLT Question: Inserting a DOCTYPE decl
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 10 Dec 1999 08:58:53 -0000
RE: XSLT Question: Inserting a DOCTYPE decl
> Which leads to a question for xsl 2 perhaps, why sren't the attributes
> of xsl:output AVT, so that you can use stylesheet parameters in there?
> 
> In other words why can't this be made to work? 
> 
>      <xsl:output method="xml" doctype-system="string($doctype)"/>
> 
The spec has generally avoided using AVTs in top-level elements, and indeed
has banned use of variables in some places where they were previously
allowed (such as in the patterns used in xsl:template and xsl:key) because
of the problems of circular definitions. It would have been easier, and more
extensible to multiple output files, if they had made <xsl:output> an
instruction, as I did with <saxon:output>.

Mike Kay


 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.