[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
  • XPATH question
    • I-Lin Kuo - Thu, 7 Aug 2003 11:30:30 -0400 (EDT)
      • <Possible follow-ups>
      • Andrew Welch - Thu, 7 Aug 2003 12:05:14 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member