Re: [xsl] unction return value not a node?

Subject: Re: [xsl] unction return value not a node?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 8 Sep 2010 16:22:31 +0100
> Sorry but XSLT 2.0 and XPath 2.0 book is more than 1000 pages, so I'm
> writing this:

:)

>  <xsl:function name="gal:func">
>    <xsl:param name="airTraveler"/>
>    <xsl:param name="srnNP16"/>
>    <xsl:value-of

change that value-of to xsl:sequence

> Could you tell me why?

the very short answer is: value-of returns a text node, but you want a
pointer to the nodes


--
Andrew Welch
http://andrewjwelch.com

Current Thread