xml-maven-plugin
xml-maven-plugin copied to clipboard
Is it possible to call xml-maven-plugin by passing only the initial template to be executed?
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 nodir
element in the relatedtransformationSet
? - Is there any way we can specify the output as a single file? Rather than an output dir - the
outputDir
in the relatedtransformationSet
.