xsl-list
[Top] [All Lists]

Re: Counting elements with count() and position()

2003-07-10 06:08:14
<td class="title">
 <xsl:choose>
 <xsl:when test="$addresscount > 1">urls:</xsl:when>
 <xsl:otherwise>url:</xsl:otherwise>
 </xsl:choose>
Hi,

your XSL File isn't well-formed, because you can't us '<','>' inside your 
Styhlesheets, instead use '&lt;' for '<' and
'&gt;' for '>' 

so correct your xsl:when like this
 
 <xsl:when test="$addresscount &gt; 1">urls:</xsl:when>

regards
Roman



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list