xsl-list
[Top] [All Lists]

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

2003-04-09 11:28:09
<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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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