Subject: RE: Test of current element From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 14 Apr 2000 15:49:05 +0100 |
> My element looks like this: > <ID>45</ID> > > My pseudo code: > <xsl:template match="ID"> > <xsl:if value-of = "45"> > <xsl:call-template name="doSomething"/> > </xsl:if> > <xsl:value-of /> > </xsl:template> nearly there... <xsl:template match="ID"> <xsl:if test=".='45'"> <xsl:call-template name="doSomething"/> </xsl:if> <xsl:value-of select="."/> </xsl:template> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Test of current element, Hakan Pettersson | Thread | XSLT, the beginning of a new paradi, Khun Yee Fung |
Re: sorting text-number strings?, David Carlisle | Date | RE: Passing a parameter that contai, Kay Michael |
Month |