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

Re: Implementing XPointer Resolution With saxon:evalua

Subject: Re: Implementing XPointer Resolution With saxon:evaluate()
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Wed, 14 Aug 2002 08:09:19 -0500
Re:  Implementing XPointer Resolution With saxon:evalua
Jeni Tennison wrote:

> The namespace for the EXSLT Functions module is:
> 
>   http://exslt.org/functions

Once again, "Doh!". This is one reason pair programming is so
effective--a coding partner would have surely caught this mistake right
away (a "didn't cut and paste error").

Now I have my indirection function working as intended. 

One thing I have a question about is how to generate an empty node list.
I am currently doing this:

      <func:result select="fcommon:node-set()"/>

Which works using Saxon's built-in implementation of node-set(), but I
didn't see anything in the definition of node-set() on the EXSLT site
that unambiguously justifies this behavior in that it doesn't say what
the behavior is when the object parameter is omitted. Given that an
empty result returns a null string, I could easily see implementors
making ommitted objects result in a node set consisting of a single text
node representing an empty string. Am I being too paranoid or is
node-set() underspecified on the EXSLT docs?

Thanks again.

Cheers,

Eliot
-- 
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


 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.