xsl-list
[Top] [All Lists]

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

2010-09-08 10:22:45
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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>