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

RE: xslt 1.1 xsl:document

Subject: RE: xslt 1.1 xsl:document
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 14:38:31 -0000
xsl document xsl result document
> I don't understand what you mean by this. I have nested two 
> xsl:result-document elements in an XSLT 2 document - the 
> outer one has doctype-public and doctype-system attributes. 
> The inner one doesn't have these attributes and the file 
> created by the inner one doesn't inherit the doctype from the 
> outer one which is the behaviour I'm looking for. I'm using Saxon 8.x
> 
> So where exactly does the problem still exist and are there 
> any potential pitfalls in using this methodology?

There's no inheritance between nested xsl:result-document instructions in
2.0, but an analagous problem occurs if you have a named output definition
(xsl:output name="x") and reference this from xsl:result-document; you can
then override most of the serialization attributes in the
xsl:result-document instruction, but you can't reset doctype-system and
doctype-public to "absent".

Michael Kay
http://www.saxonica.com/

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.