Subject: Re: [xsl] configuring a conditional From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 24 May 2005 12:22:12 -0400 |
That's what I have:
<xsl:message>
<xsl:value-of select="$cite-ref/@linkend"/>:
<xsl:if test="$cite-ref is key('refs',$cite-ref/@linkend)[1]">FIRST</xsl:if>
</xsl:message>
Result is:
TimesP2001a:
Veer1996a:
Tilly2000a:
Tilly2002a:
NW2000-0207:
NW2000-0424a:
Tremblay2001a:
Thrift1990a:
Tilly2000a:
<xsl:for-each select="$cite-ref"> <xsl:if test="count(.|key('refs',@linkend)[1])=1">FIRST</xsl:if> </xsl:for-each>
I hope that helps, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] configuring a conditional, Bruce D'Arcus | Thread | Re: [xsl] configuring a conditional, Bruce D'Arcus |
Re: [xsl] configuring a conditional, David Carlisle | Date | Re: [xsl] configuring a conditional, Bruce D'Arcus |
Month |