This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Xpath AndExpr on attribute values?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Xpath AndExpr on attribute values?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 6 Jun 2000 09:42:04 +0100
- Reply-To: xsl-list at mulberrytech dot com
> Can somebody please help me out with the right syntax for an
> Xpath expression that does a logical AND on the values of two
> attributes of the same element?
> I want to do something like
> <xsl:apply-templates select="text/saying[@language='en'] and
> text/saying[@topic='morals']"/>
Write:
select="text/saying[@language='en' and @topic='morals']"
Mike K
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list