在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):eerohele/saxon-gradle开源软件地址(OpenSource Url):https://github.com/eerohele/saxon-gradle开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Saxon Gradle PluginA plugin for running Saxon from Gradle. Examplerepositories {
mavenCentral()
}
configurations {
saxon
}
dependencies {
// Use Saxon-HE 9.9.1-5 instead of the Saxon-HE version that comes with the
// plugin.
saxon 'net.sf.saxon:Saxon-HE:9.9.1-5'
}
plugins {
id 'com.github.eerohele.saxon-gradle' version '0.9.0-beta4'
}
xslt {
// Use the Saxon version you specified in the "dependencies" block.
classpath.from(configurations.saxon)
stylesheet 'stylesheet.xsl'
// Transform every .xml file in the "input" directory.
input fileTree(dir: 'input', include: '*.xml')
// Set Saxon configuration file.
config 'config/saxon.xml'
// Set XSLT parameters.
parameters(
debug: true,
version: project.version
)
} See the Benefits
OptionsThe plugin supports all of the same options as the Saxon command-line tool, but with more readable names:
The plugin also supports Saxon's advanced options. For a full list of the available advanced options, see the bits
between Plugin optionsAdditionally, the plugin supports these options that aren't related to Saxon:
Limitations
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论