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

RE: On the XPath to my editor....

Subject: RE: On the XPath to my editor....
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 20 May 2002 08:55:35 +0100
RE:  On the XPath to my editor....
> 
> Yes, but this is the only way to do it in XSLT 1.0. In XSLT 
> 2.0, due to general steps in XPath 2.0, we'll be able to do:
> 
>   $schema/saxon:evaluate($xsd-path)
> 
> which has the advantage that the results of the evaluated 
> path will be unioned together, so even if there's more than 
> one node being held by the $schema variable, but they're all 
> in the same document, you'll only get one of each within the sequence.
> 
> The other method that you could try is:
> 
>   saxon:evaluate(concat('$schema', $xsd-path))
> 
> or, if that doesn't work (I can't remember whether Saxon 
> allows variables within saxon:evaluate() or not)...

It is allowed and it should work.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 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.