When using the Saxon-HE command line (currently version 10.5), one can make a call as follows: saxon -it -xsl:my-stylesheet.xsl -o:output.xml
For the command above, by default the template with name xsl:initial-template in the specified stylesheet is executed.
No file names are needed as input.
Questions:
- Is there any way the
xml-maven-plugin can be invoked similarly (using Saxon-HE as a dependency) by passing this -it parameter (or equivalent) and with no dir element in the related transformationSet?
- Is there any way we can specify the output as a single file? Rather than an output dir - the
outputDir in the related transformationSet.
When using the Saxon-HE command line (currently version 10.5), one can make a call as follows:
saxon -it -xsl:my-stylesheet.xsl -o:output.xmlFor the command above, by default the template with name
xsl:initial-templatein the specified stylesheet is executed.No file names are needed as input.
Questions:
xml-maven-plugincan be invoked similarly (using Saxon-HE as a dependency) by passing this-itparameter (or equivalent) and with nodirelement in the relatedtransformationSet?outputDirin the relatedtransformationSet.