Hos do I pass array of Integers as a params to XSLT?.
A:
You can pass it in an xml format. That would make processing in the xslt easier too.
<array>
<int>23</int>
<int>45</int>
</array>
You can then process it in your xslt as:
<xsl:param name="intArray" />
...
...
<xsl:template match="/">
...
<xsl:for-each select="$intArray/int">
<!-- Process int array -->
...
...
</xsl:for-each>
</xsl:template>
Rashmi Pandit
2009-07-08 03:51:39