[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Can not convert number to a NodeList

Subject: Can not convert number to a NodeList
From: "Carlos M. S. Bento Nogueira" <cmsbn@xxxxxxxxxxxxxxxxx>
Date: Sat, 11 Jun 2005 19:58:04 +0100 (WEST)
convert number to text
Hi everyone. I'm trying to put this simple cycle to work :

<xsl:for-each select="$line">
	<xsl:for-each select="$column">
		<td><xsl:text>C</xsl:text></td>
	</xsl:for-each>

	<xsl:if test="$line&gt;1">
		<tr><xsl:text>L</xsl:text></tr>
	</xsl:if>
</xsl:for-each>

but i'm always getting an exception: Can not convert number to a NodeList .
Yes this variables are numbers that must be passed to my xsl file.
I'm initializing them this way
<xsl:variable name="column" select="number(fi:styling/@column")/>
.


Any ideas how to workaround this? I've tried exslt.org but haven't found
what i needed.

TIA,
CarlosN.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.