xsl-list
[Top] [All Lists]

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

2006-09-27 12:09:53
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--