Subject: RE: [xsl] [XSL]Display Different Results Based on Count of Node Sets From: Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx> Date: Sun, 23 Sep 2007 12:53:33 -0400 |
<author>Tennison, Jeni <title>Beginning XSLT</title> <title>Beginning XSLT 2.0</title> </author>
<author>Meyer, Eric <title>The Zen of CSS</title> </author>
<xsl:variable name="value"> <xsl:number count="title"/> </xsl:variable> <xsl:choose> <xsl:when test="$value ='1'"> <xsl:value-of select="."/> </xsl:when> <xsl:otherwise> <p><xsl:value-of select="."/></p> </xsl:otherwise> </xsl:choose> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] [XSL]Display Different Re, Michael Kay | Thread | RE: [xsl]Display Different Results , XSL-List Owner |
RE: [xsl] [XSL]Display Different Re, Michael Kay | Date | RE: [xsl]Display Different Results , XSL-List Owner |
Month |