<xsl:template match="/">
<xsl:if test="$File1>
<xsl:call-template name="CopyThis">
<xsl:with-param name="File" select="$File1/ns1:result/ns1/resultSet"/>
</xsl:call-template>
</xsl:if>
.
File2 (with all the xml above)
.
File3
.
And so on,
The questions is, what's the better way to do this? Can I dynamically create a list / collection to fill my input into. And then the if statement could somehow by the means of recursion call until end of list / collection.