Btw, here is another pattern that matches root node :o)
<xsl:key name="mykey" match="/" use="'root'"/>
<xsl:template match="key('mykey', 'root')">
Nice one, I stand corrected.
Michael Kay
http://www.saxonica.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>
--~--