xsl-list
[Top] [All Lists]

Re: Is this node, the document root... best test?

2003-10-20 08:49:44
Would this make....

<xsl:when test=". = /">This the best test then?</xsl:when>

Cheers,

Steve

On 10/20/2003 11:10 AM, Adam Heinz wrote::

Check out the 14th bullet at http://www.w3.org/TR/xpath#location-paths

Adam Heinz
Development Consultant
Exstream Software

-----Original Message-----
From: Stephen Cunliffe [mailto:scunliffe(_at_)digitalfairway(_dot_)com]
Sent: Monday, October 20, 2003 9:59 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Is this node, the document root... best test?

Hello XSL group;

In a template, matching on "*", I need to test, if this node, is the document root node.

[snip]

Steve

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list