[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 12:51:26 -0500
Re:  Implementing XPointer Resolution With saxon:evalua
Jeni Tennison wrote:

> The basic method of recursively building up a node-set is to have a
> function definition that looks like:

>       <func:result select="$node-set |
>                            my:function(...$param...)" />

Ah, all is clear now. I had forgot (or not fully realized) that the "|"
operator is set union (procedural language brain damage). This is the
node set construction mechanism that I was looking for.

I still think it would be useful to have an XSLT element that returns a
node set such that: 

<xsl:variable name="result-node-set">
 <xsl:get-node-set select="."/>
</xsl:variable>
<xsl:if test="generate-id(.) = generate-id($result-node-set[1])">
  <xsl:message>identity is preserved</xsl:message>
</xsl:if>

works. It would certainly simplify my current task and provide the
natural companion to copy-of.

Thanks,

E.

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