Hi
I'm not clear. Why are you using the parameter's value in your XSLT?
<xsl:apply-templatesselect="/in:inputs/in:result[@name='URL']/root/NewDataSet/Table"/>
<xsl:templatematch="/in:inputs/in:result[@name='URL']/root/NewDataSet/Table">
You should iterate your SQL function you make a call to:
<xsl:apply-templates select="/in:inputs/in:result[@name='AllSubjects']/root/NewDataSet/Table" />
<xsl:template match="/in:inputs/in:result[@name='AllSubjects']/root/NewDataSet/Table">
/Vitaly