Skip to content

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

@dandn

Description

@dandn

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions