RE: [xsl] is this valid <xsl:template match="@id"> ?

Subject: RE: [xsl] is this valid <xsl:template match="@id"> ?
From: "Martinez, Brian" <brian.martinez@xxxxxxxx>
Date: Mon, 30 Dec 2002 17:08:44 -0700
> From: SLakshman@xxxxxxxxx [mailto:SLakshman@xxxxxxxxx]
> Sent: Monday, December 30, 2002 4:44 PM
> Subject: [xsl] is this valid <xsl:template match="@id"> ?
> 
> 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 ?

The syntax is legal, and MSXML (at least v.4.0) should have no trouble with
it.  Your problem likely lies elsewhere (perhaps the select expression in
your apply-templates elements, or the XPath syntax in the template itself).
You should post some sample input/output and the relevant XSLT if you want
more specific help.

cheers,
b.

| brian martinez                              brian.martinez@xxxxxxxx |
| senior gui programmer                                  303.708.7248 |
| trip network, inc.                                 fax 303.790.9350 |
| 6436 s. racine cir.                             englewood, co 80111 |
| http://www.cheaptickets.com/                   http://www.trip.com/ |

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


Current Thread