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

RE: How to specify a path to a node in a nodeset using

Subject: RE: How to specify a path to a node in a nodeset using a variable
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 12 Mar 2001 09:52:10 -0000
concatenate node set
> David Carlisle <davidc@xxxxxxxxx> and Mike Kay had the
> following suggestion:
> >
> >select="xalan:evaluate(concat('$container/',$path))"/>
>
> I think I am missing some concept or maybe I have not explained myself
> clearly.
> >
> If were to concat $container and $path, what would happen here?
>

The suggestion was not to concatenate $container and $path, it was to
concatenate '$container/' and $path, that is to construct a string
consisting of the string '$container/' followed by (the value of $path
converted to a string); the resulting string will contain an XPath
expression which the evaluate() function then evaluates.

Mike Kay
Software AG


 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.