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

RE: [exsl] Naming exsl:return/exsl:result (Was: Re: Fu

Subject: RE: [exsl] Naming exsl:return/exsl:result (Was: Re: Functional programming in XSLT)
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 21 Mar 2001 03:56:10 -0000
exsl
> I must have missed a part of the discussion -- was there a
> feeling that
> it would be inappropriate to overload xsl:value-of?  When the RTF
> concept is removed, would it not be possible to say that xsl:value-of
> just returns the original node set instead of a copy?  It
> would then be
> possible for templates (or exsl:functions) to return references to the
> original node sets, and xsl:value-of would IMHO be a natural
> choice for this return value issue.

It is very much part of the semantics of xsl:value-of that it converts the
supplied value to a string.

xsl:copy-of would be closer to the mark, but still not quite right, because
that still converts numbers and booleans to strings.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.