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.