Subject: RE: Name of an Attribute node.
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Tue, 11 Apr 2000 14:51:19 -0700
|
Even better would be
<xsl:when test="self::style | self::onload">
- Jonathan Marsh
Microsoft
> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: Tuesday, April 11, 2000 9:43 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: Name of an Attribute node.
>
>
>
> > I am using the msxsl3 XSLT
>
> but you are writing your sheet in the style of the non standard xsl in
> the base ie5 release.
>
> <xsl:when test=".[nodeName()='style' || nodeName()='onload']"/>
>
> grab a copy of the XSLT and Xpath specs and search for nodeName
> you will find that it is not there. (This function was never in any
> draft of XSL as far as I can remember)
>
> <xsl:when test="name(.)='style' or name(.)='onload'"/>
>
> David
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|