xsl-list
[Top] [All Lists]

Re: A parameter current context or context passed

2005-05-13 11:05:40
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(_at_)gmail(_dot_)com> 
05/13/2005 12:48 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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?

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--