I am trying to use the result of an java xsl transform (from XMLSource1.xml and StyleSheet1.xsl) as a stylesheet for another transform (from XMLSource2) and then output the result.
I read an interesting article about chaining transformations (also described here but what I am trying to achieve is slightly different because the result of the first transformation will not be the source for the second one but the stylesheet that should be apply to another transformation.
How could I achieve this?