admin管理员组

文章数量:1315033

I want to run my xslt transformation in gradle with parameter. How can I set the parameter? I have the following code in build.gradle:

`SaxonXslt transform = new SaxonXslt()
transform.options = [
        stylesheet: Paths.get(xsltPath).toFile()
        input     : inputFile.toFile(),
        output    : outputfile.toFile(),
]
transform.parameters('param1', valueOfParam1)
transform.run()`

it starts xslt but with empty parameter

本文标签: buildgradleRun xslt transformation in gradle with parameterStack Overflow