|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








