xsl-list
[Top] [All Lists]

Re: Limitation of <xsl:result-document> in <xsl:function> in XSLT2

2003-04-09 06:23:20
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