1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 16:15:48 +02:00
tldr/pages.zh/osx/xsltproc.md
Kristopher 7ec3c67a43
xsltproc: fix broken links (#17437)
* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md
2025-07-31 09:21:33 -07:00

12 lines
413 B
Markdown

# xsltproc
> 用 XSLT 转换 XML 以生成输出(通常是 HTML 或 XML)。
> 更多信息:<https://manned.org/xsltproc>.
- 使用特定的 XSLT 样式表转换 XML 文件:
`xsltproc --output {{输出.html}} {{样式表.xslt}} {{xml 文件.xml}}`
- 将值传递给样式表中的参数:
`xsltproc --output {{输出.html}} --stringparam "{{键名}}" "{{值}}" {{样式表.xslt}} {{xml 文件.xml}}`