Re: [xsl] xsl:with ?

Subject: Re: [xsl] xsl:with ?
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Fri, 8 Mar 2002 13:07:42 -0800
On Friday 08 March 2002 08:46, Jeff Beadle wrote:
> select="msxsl:node-set($BaseElementInstance)/BaseElement[1]"

I think the reason nobody has done this yet is because it *is* possible to 
simulate the behaviour of xsl:with with the XPath you gave.  XSLT has a very 
minimal set of functions, and the working group hardly ever adds anything 
unless there is absolutely no way to do something any other way.

xsl:for-each might look like a misnomer in your code, but unfortunately as 
long as the above XPath works, you won't find many people willing to make a 
new construct in the language.

-- 
Peter Davis
"Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!"

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread