RE: [xsl] Limitation of <xsl:result-document> in <xsl:function> in XSLT2

Subject: RE: [xsl] Limitation of <xsl:result-document> in <xsl:function> in XSLT2
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 9 Apr 2003 19:28:09 +0100
> <xsl:function> may only contain <xsl:param>, <xsl:variable>, 
> <xsl:message> and <xsl:result>.  If you need to execute 
> <xsl:result-document> from within a function, you will 
> probably have to hide it inside an <xsl:variable>.

No, that's banned too. xsl:result-document can only be used while
writing a final result tree. In effect, the secondary result tree is
seen as an branch of the primary result tree, that happens to be
serialized to a different file.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread