Subject: [xsl] Trouble understanding the Test expression in xsl:if From: Keith Gilbert <kgilbert@xxxxxxxxxxxxxxxxxxxxx> Date: Wed, 27 May 2009 14:28:05 -0500 |
<category> <category_name>apples</category_name> <product>red delicious</product> </category> <category_name>oranges</category_name> <product>sunkist</product> </category>
<xsl:template match="category"> <xsl:apply=templates/> </xsl:template>
<xsl:template match="category_name"> <xsl:if test="category_name = apples"> <xsl:call-template name=apple_template/> </xsl:if> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Script blocks in XSLT, Scott Trenda | Thread | Re: [xsl] Trouble understanding the, G. Ken Holman |
Re: [xsl] Dividing documents based , Chris von See | Date | Re: [xsl] Trouble understanding the, G. Ken Holman |
Month |