Subject: RE: [xsl] Is this node, the document root... best test? From: "Michael Kay" <mhk@xxxxxxxxx> Date: Mon, 20 Oct 2003 17:58:09 +0100 |
> > Would this make.... > > <xsl:when test=". = /">This the best test then?</xsl:when> > This tests whether the string value of the content node is the same as the string value of the root. This is potentially a very expensive test, and it's wrong. For example it would return true for all the elements in the document <a><b><c><d/><e/></c></b></a> Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is this node, the documen, Americo Albuquerque | Thread | Re: [xsl] Is this node, the documen, Stephen Cunliffe |
RE: [xsl] variable visibility, Michael Kay | Date | RE: [xsl] Is this node, the documen, Michael Kay |
Month |