I am using one xslt file for count the number of elements in an XML file that have a particular value (to verify uniqueness) and stored in xsl variable name. This xml file is created programatically and value of the number of the elements sometimes may exceed 1 million.
Due to this high level range, I am little afraid about range limit of xsl:variable or count attribute.
I don’t know whether xsl:variable or count attribute has limited range (Starting range and ending range) or not?
With most XSLT processors, you're likely to run out of memory for storing the XML document long before you exceed the limit of the count() function. About 1Gb is about the maximum you're likely to be able to handle, and that's unlikely to be more than about 10M nodes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With