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

Re: monotonous nbsp coding

Subject: Re: monotonous nbsp coding
From: David N Bertoni/Cambridge/IBM <david_n_bertoni@xxxxxxxxxx>
Date: Wed, 13 Nov 2002 16:18:13 -0800
Re:  monotonous nbsp coding



Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx> wrote:
>    Wendell posted "not(string())", but according to topxml.com (I know,
> it's not the canonical source), a call to string() with no arguments
always
> returns the empty string.  I haven't verified that one either way...

topxml.com is wrong.  From the XPath recommendation:

   "The string function converts an object to a string as follows:

   A node-set is converted to a string by returning the string-value of the
   node in the node-set that is first in document order. If the node-set is
   empty, an empty string is returned.

   ...

   If the argument is omitted, it defaults to a node-set with the context
   node as its only member."

See:

   http://www.w3.org/TR/xpath#section-String-Functions

Dave


 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.