Using Multiple XSLT transformations.
Author: None (None)
I'm currently doing a lot of work with XSL, using the command: Activate "Usysxslt".Xmltransform (...) I have developed a group of generic xslt files to allow me to perform common task, such as renaming elements, changing the format of dates or removing empty elements. Usually I perform multiple calls to Usysxslt component, with of the output of the first call being used as the input for the second, and so on. However this is not as quick as I would like. I expect this is because it is having open and close the Java Xalan XSLT processor multiple times. Does any one know I can avoid this problem? Ideally I would like to instantiate the Xalan XSLT processor once, and then it perform each of the XSLT steps on the same xml file. I've written a COM interface to the Microsoft MSXML engine, which we could use instead but this would require additional software to be installed on each client, which I would like to avoid if possible. I realise I probably could re-write my xslt files into one master file that did all the transformations, but I would prefer not to have to do that as it?s simpler having the smaller generic files. I am currently using Uniface 9.