This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xsl:with ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]