Re: [xsl] xslt 1.1 xsl:document

Subject: Re: [xsl] xslt 1.1 xsl:document
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 10 Nov 2006 12:52:38 GMT
>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  

xsl:result-document attributes don't inherit from each other but they do
all inherit from xsl:output. If you set a doctype on xsl:output you
can't unset it on xsl:result-document.

However this isn't so bad in xslt2 as you can have named output
definitions, so even if you have a default (unnamed) xsl:output that
used doctype, you can have another xsl:output that sets up a named
output definition that does not use doctype, and reference that named
output definition in xsl:result document.


Current Thread