Processing stacks of parameters using 'for-each' in XSL?
I have a series of param elements inside a template that rely upon each other (i.e. each subsequent param uses the value of the previous one as part of it's XPath) e.g. <xsl:param name="input1" select="path/node/@value"/> <xsl:param name="input2" select="path/anothernode[@value=$input1]/anothervalue"/> <xsl:param name="input3" select="path/thirdnode[@value=$input2]/@endvalue"/> etc. etc. The stack of params works perfectly on a single run through. However, when I use a for-each loop to call the template and pass the for-each value to it using xsl:with-param, only the top param is processed -