XSLT scenario: how to transform a collection of XML files (i
Posted: Thu Feb 24, 2011 12:49 pm
When you create a transformation scenario, you can give a "XML URL", and you can use collection(...) to read other files from the file system. Fine.
But, in the transformation scenario, how can you give a collection as the input of the XSLT ?
The reason to do this is that my XSLT is used in a XProc pipeline, and the p:xslt "source" port receives a collection of files (the result of another step). It works, but I had to modify he XSLT to work that way, and now I can't run this XSLT using a scenario.
But, in the transformation scenario, how can you give a collection as the input of the XSLT ?
The reason to do this is that my XSLT is used in a XProc pipeline, and the p:xslt "source" port receives a collection of files (the result of another step). It works, but I had to modify he XSLT to work that way, and now I can't run this XSLT using a scenario.