This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:with ?
- From: Peter Davis <pdavis152 at attbi dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 8 Mar 2002 13:07:42 -0800
- Subject: Re: [xsl] xsl:with ?
- References: <60A8664AEEB2D511B631000476AAB1A3ACC850@ma-atl81>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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