Subject: Re: [xsl] xsl:preceding - only display first value From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Tue, 7 Dec 2004 17:17:39 +0000 |
Hi Dmitri, > I would like to display on the first value if there are repeats You only have to check either the immediately following or preceding sibling, not both. Try: <xsl:choose> <xsl:when test="preceding-sibling::Step[1]/ProbDefault = ProbDefault">blank</xsl:when> <xsl:otherwise> <xsl:value-of select="ProbDefault" /> </xsl:otherwise> </xsl:choose> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl:preceding - only display , dmitrik | Thread | [xsl] Same XPath expression with di, António Mota |
Re: [xsl] Problem with Output speci, Jeni Tennison | Date | Re: [xsl] Problem with Output speci, David Carlisle |
Month |