RE: [xsl] selecting multiple attributes

Subject: RE: [xsl] selecting multiple attributes
From: "Ben Robb" <Ben@xxxxxxxxxx>
Date: Thu, 2 Jan 2003 13:45:03 -0000
Try "and"

E.g. <xsl:template match="sect1[@lang = 'ger' and @id = 'news']">

Note also that it is not permitted to have a VariableReference in your
match attribute for the <xsl:template> element. This is to prevent
circular references.

Rgs,

Ben

-----Original Message-----
From: Hubert Holtz [mailto:Turnhose_alt@xxxxxxx] 
Sent: 02 January 2003 13:29
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] selecting multiple attributes


Hy,

how can I check an element for more than one attribute?

Example:

--- code -------

<sect1 id="news" lang="ger">


-------------------

I only know how to slect one : <xsl:template match="sect1[@lang=
$lang]"> 
but is there something like an logical and?

Thanks

Homer30


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


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


Current Thread