xml-maven-plugin icon indicating copy to clipboard operation
xml-maven-plugin copied to clipboard

Is it possible to call xml-maven-plugin by passing only the initial template to be executed?

Open dandn opened this issue 3 years ago • 4 comments

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.

dandn avatar Jun 21 '21 22:06 dandn