145.2. URI 格式
xslt-saxon:templateName[?options]
URI 格式包含 templateName,可以是以下之一:
- 要调用的模板的 classpath-local URI
- 远程模板的完整 URL。
您可以使用以下格式将查询选项附加到 URI 中:
?option=value&option=value&…
URI | 描述 |
---|---|
xslt-saxon:com/acme/mytransform.xsl | 在 classpath 上引用文件 com/acme/mytransform.xsl |
xslt-saxon:file:///foo/bar.xsl | 引用文件 /foo/bar.xsl |
xslt-saxon:http://acme.com/cheese/foo.xsl | 指的是远程 http 资源 |