[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] A parameter current context or context passed


Subject: Re: [xsl] A parameter current context or context passed
From: JBryant@xxxxxxxxx
Date: Fri, 13 May 2005 13:05:40 -0500

Hi, Karl,

/ is the document root. So I think you want just select="current()" (or 
even just select=".").

Untested, so I might be off.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)





Karl Stubsjoen <kstubs@xxxxxxxxx> 
05/13/2005 12:48 PM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc

Subject
[xsl] A parameter current context or context passed






This should be an easy one...

I have the following paramter:
<xsl:param name="current" select="/ | current()"/>

As the name implies it should be the current context unless otherwise
specified.  Have I written this correct?


Current Thread