On Thursday 02 January 2003 14:28, Hubert Holtz wrote:
how can I check an element for more than one attribute?
...
I only know how to slect one : <xsl:template match="sect1[(_at_)lang= $lang]">
but is there something like an logical and?
Try "and" (lowercase, without quotes), like
<xsl:apply-templates select="sect1[(_at_)lang=$lang and @id='news']"/>
BTW
<xsl:template match="sect1[(_at_)lang= $lang]">
is invalid, variable references are not allowed in match patterns.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list