This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Name of an Attribute node.


Even better would be

  <xsl:when test="self::style | self::onload">

- Jonathan Marsh
  Microsoft

> -----Original Message-----
> From: David Carlisle [mailto:davidc@nag.co.uk]
> Sent: Tuesday, April 11, 2000 9:43 AM
> To: xsl-list@mulberrytech.com
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]