As I understand, it is possible to set stylesheet parameters before processing the XSL with XalanTransformer::transform . But is there a way to set several parameters and enumerate them with XPath ?? Something like (input programmatically, i.e. not in XSL)
<xsl:param name="stuff">
<stuff id="1"/>
<stuff id="2"/>
<stuff id="3"/>
</xsl:param>
and then in the XSL use:
<xsl:for-each select="$stuff/stuff">
<xsl:param name="currentStuffID" select="@id"/>
...
</xsl:for-each>
TIA
/Rob
