[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] XPATH question


Subject: RE: [xsl] XPATH question
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 17:05:08 +0100


> I want to select all <var> which contain a <sumStat> with a "vald"
type
> whose sumStat value is >4. So, in the following example, I only want
to
> select the first <var>

<xsl:apply-templates select="var[sumStat[@vald][. > 4]]"/>

should get what you need.

cheers
andrew

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



Current Thread