Santiago Pericas-Geertsen wrote:
<xsl:variable name="foo" select="java:..."/>
Since XSLT is pure (i.e. no side effects) there's really no elegant way of doing this.
After thinking about your response it would probably be best to not rely on Java set methods alone, but rather send a modified clone of the original object as a parameter to the sub-template. That would make it functionally safer. Thanks for the response as I will certainly need to use the dummy variable to prepare the parameter.
Thanks,
RRM
