xsl-list
[Top] [All Lists]

Re: Multi-part search XPath expressions.

2004-09-11 06:40:13

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