[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Processing node-sets in batches
On 15/03/2010 20:37, Jeff Hooker wrote:
<xsl:variable name="setsize">10</xsl:variable> <! It's much more efficient to use <xsl:variable name="setsize" select="10"/> which makes the variable hold a number rather than a document node with a text node child with string value the decimal representation of the number which needs to be cast first to a string, then to a number when used in a numeric context. Also xslt2 is based on sequences not sets, so the terminology is a bit off (which was why I assumed XSLt1 in my first reply). node-set is the basic datatype in xpath 1, but it doesn't exist in xpath2. David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|