Subject: RE: Using the not function From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 17 Jan 2000 10:31:35 -0000 |
> > <xsl:apply-templates select="[all but element3]" /> > > ... > > <xsl:apply-templates select="*[name() != 'element3']" /> > Generally speaking, it's best to avoid testing the result of the name() function, because two XML documents that are equivalent except for their choice of namespace prefixes will give different answers. Using "not(self::element3)" is safer. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Using the not function, David Carlisle | Thread | RE: Using the not function, Harbarth, Juliane |
Re: Using the not function, David Carlisle | Date | Getting a longest node, Wendell Piez |
Month |