[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] is this valid ?


Subject: RE: [xsl] is this valid <xsl:template match="@id"> ?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 31 Dec 2002 09:43:16 -0000

> I would like to create a template that matches attribute id 
> in all elements
> 
> <xsl:template match="@id">
> 
> this is not working with MSXML... is it correct to use such syntax ?
> 

You can write a template rule like this, but it will only be fired if
you actually apply templates to attribute nodes using something like:

<xsl:apply-templates select="@*"/>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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



Current Thread