Re: [xsl] Counting elements with count() and position()

Subject: Re: [xsl] Counting elements with count() and position()
From: roman.musil@xxxxxxxxx
Date: Thu, 10 Jul 2003 15:08:14 +0200
> <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


Current Thread