|
Subject: Re: [xsl] RE : Still Testing! From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Sun, 13 Feb 2005 12:33:16 +0100 |
This is my xsl:template I am using. It doesn't appear to work, in that the second condition doesn't cause the display of the appropriate value.
<xsl:template match="tree_node"> <xsl:if test="parent::tree or parent::tree_node[@id=$c_node]"> <xsl:value-of select="@value"/> </xsl:if> </xsl:template>
<xsl:template match="tree_node">
<xsl:if test="parent::tree or parent::tree_node[@id='7']">
<xsl:value-of select="@value"/>
<xsl:apply-templates/>
</xsl:if>
</xsl:template>regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Laudeo W3C et dona ferens
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] RE : Still Testing!, Adam J Knight | Thread | Re: [xsl] RE : Still Testing!, David Carlisle |
| Re: [xsl] Template Problem!!, Joris Gillis | Date | [xsl] saxon:next-in-chain, Bryan Rasmussen |
| Month |