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: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 09 Apr 2003 09:23:20 -0400
Kurt Cagle wrote:
Using the Saxon 7.4 parser with XSLT2, I am unable to invoke
<xsl:result-document> from within an <xsl:function> element, even though I
can invoke it from a named template. Is there any particular reason for this
discrepancy?

Kurt,


<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>.


--


--------------------------
Jeff Kenton
DataPower Technology, Inc.



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


Current Thread