Subject: RE: [xsl] dereferencing count() within comparison test From: "Andrew Maclean" <andyjmaclean@xxxxxxxxxxx> Date: Fri, 23 Jan 2004 13:11:13 +0000 |
From: "Andrew Maclean" <andyjmaclean@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] dereferencing count() within comparison test Date: Fri, 23 Jan 2004 12:56:44 +0000
Dear all,
I have a problem dereferencing the value of the count() function. Testing shows that count() evaluates to 5, and that $paramCount evaluates to 1 in the following code snippet. The loop is not enetered into, however.
<xsl:when test="$paramCount < number(count(exsl:node-set($A)/derivedType)+1) ">
I can copy and paste the syntax from "(count(exsl" into a select and find out that it is indeed 5, but putting it together with the "<" comparison seems to make it non-numeric. Could some one please tell me why?
Thanks a lot,
Mr Andrew Maclean
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dereferencing count() wit, Michael Kay | Thread | [xsl] Accessing data from repeating, Mark Williams |
[xsl] dereferencing count() within , Andrew Maclean | Date | Re: [xsl] Creating nested structure, scott gabelhart |
Month |