xsl-list
[Top] [All Lists]

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

2002-12-30 17:08:44
From: SLakshman(_at_)eagle(_dot_)org [mailto:SLakshman(_at_)eagle(_dot_)org]
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(_dot_)martinez(_at_)trip(_dot_)com |
| 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