[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Need to remove unusual character in source


Subject: Re: [xsl] Need to remove unusual character in source
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 27 Sep 2006 19:51:48 +0200

Florent Georges wrote:
Abel Braaksma wrote:

<xsl:function name="try-loading-file">
<xsl:param name="filename" />
<xsl:value-of select="document($filename)" />
</xsl:function>

I guess you meant:


<xsl:function name="try-loading-file" as="document-node()">
<xsl:param name="filename"/>
<xsl:sequence select="document($filename)"/>
</xsl:function>

Indeed, you are so right, that's more likely and more reasonable (I shouldn't post so late ;-) ), or copy-of, or apply-template for that matter



Current Thread