[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: unction return value not a node?

Subject: Re: unction return value not a node?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 8 Sep 2010 16:22:31 +0100
Re:  unction return value not a node?
> 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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.