是否有一个工具可以从 xsl 创建 xsl:fo 以便输出相同?

发布于 2024-08-23 01:58:04 字数 116 浏览 3 评论 0原文

是否有任何工具可以获取 xsl 文件并将其转换为相同的 xsl:fo ? 我有从 xsl+xsl 转换而来的 html 文件,现在我喜欢采用 xsl 并创建 xsl:fo 对于 fop 我现在真的不想写 xsl:fo

Is there any tool that takes xsl file and converting it to the same xsl:fo ?
I have html file that is converted from xsl+xsl and now I like to take the xsl and to create xsl:fo
For fop and I really don’t want to write xsl:fo now

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

宁愿没拥抱 2024-08-30 01:58:04

您需要一个 fop 能够理解的转换,即仅 xsl:fo,或者换句话说,fop 无法打印 HTML。

恕我直言,研究一下 HTML 到 PDF 的转换,它更适合您的问题。

You need a transformation something fop understands, and that is xsl:fo only, or to put it differntly fop cannot print HTML.

Look into HTML to PDF conversion that, IMHO, is more suited for your problem.

猫性小仙女 2024-08-30 01:58:04

AntennaHouse 有一组样式表用于将 XHTML 转换为 XSL-FO:

http://www.antennahouse.com/XSLsample/XSLsample.htm#HTMLtoFO

AntennaHouse has a set of stylesheets to convert XHTML to XSL-FO:

http://www.antennahouse.com/XSLsample/XSLsample.htm#HTMLtoFO

好菇凉咱不稀罕他 2024-08-30 01:58:04

尝试 Ecrion 引擎;它应该适用于 HTML(格式不正确)和 XHTML;在这两种情况下都使用InputFormat.HTML。

Try the Ecrion engine; it should work with HTML (not well formed) and XHTML; in both cases use InputFormat.HTML.

坚持沉默 2024-08-30 01:58:04

您可以使用 RenderX Products ,它可以将 XSL/XSL+XML 格式化为 HTML、PDF、 PS...等等。

问候,格雷格

You can use RenderX Products , which can format XSL/XSL+XML to HTML, PDF, PS ... and so.

Regards, Greg

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文