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

Re: [xsl] Multi-part search XPath expressions.


Subject: Re: [xsl] Multi-part search XPath expressions.
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Sat, 11 Sep 2004 09:40:13 -0400

On Sep 11, 2004, at 5:27 AM, Michael Kay wrote:

Or even better, put the condition in the match pattern:

  <xsl:template
   match="Species[Extinct='False' and Genus_Name='Casuarius']">
      <p>species name is <xsl:value-of select="Species_Name"/></p>
  </xsl:template>

<xsl:template match="Species"/>

Yeah, I should have explained this is what I wanted, but couldn't get it to work right (because I didn't have the second template)!


Bruce


Current Thread