Try "and"
E.g. <xsl:template match="sect1[(_at_)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(_at_)gmx(_dot_)net]
Sent: 02 January 2003 13:29
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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[(_at_)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