Subject: Re: [xsl] Multi-part search XPath expressions. From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Sat, 11 Sep 2004 10:02:16 -0400 |
I'm still trying to get my head around the language and am now lead into wondering about subroutines.
<xsl:template match="Australian_Birds"> <h1>Birds</h1> <div id="live"> <h2>Living Species</h2> <xsl:apply-templates select="Species[Extinct='True']"/> </div> <div id="extinct"> <h2>Extinct Species</h2> <xsl:apply-templates select="Species[Extinct='False']"/> </div> </xsl:template>
<xsl:template match="Species_Name"> <h3> <xsl:value-of select="."/> </h3> </xsl:template>
<xsl:template match="Family_Name"> <p>Family Name: <span class="family_name"> <xsl:value-of select="."/> </span> </p> </xsl:template>
<xsl:template match="Genus_Name"> <p>Genus Name: <span class="genus_name"> <xsl:value-of select="."/> </span> </p> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Multi-part search XPath e, David Adams | Thread | Re: [xsl] Multi-part search XPath e, Josh Canfield |
Re: [xsl] Multi-part search XPath e, Bruce D'Arcus | Date | Re: [xsl] Multi-part search XPath e, Josh Canfield |
Month |