Subject: RE: Check if a field matches "any" of a set of other entries From: Ben Robb <Ben@xxxxxxxxxx> Date: Wed, 3 May 2000 10:25:49 +0100 |
This should do the job: <xsl:for-each select="/document/data/entry"> <xsl:choose> <xsl:when test=". = /document/references/ref"> <b><xsl:value-of select="text()"/></b> </xsl:when> <xsl:otherwise> <i><xsl:value-of select="text()"/></i> </xsl:otherwise> </xsl:choose> </xsl:for-each> Ben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Check if a field matches "any" of a, Gerard Berthet | Thread | Add Variables accross sibling Node, Rhonda Fischer |
Check if a field matches "any" of a, Gerard Berthet | Date | Add Variables accross sibling Node, Rhonda Fischer |
Month |