XSL-FO:XSL-FO 是死技术并且仅由利基公司使用吗?

发布于 2024-08-28 21:37:38 字数 1431 浏览 4 评论 0原文

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

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

发布评论

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

评论(7

风追烟花雨 2024-09-04 21:37:38

我猜想 XSL-FO 处理器可用性较低的唯一原因是它的格式化选项相当大而且也相当复杂。由于

涉及的复杂性,没有人愿意花那么多功夫将其打开来源。我听说有很多很酷的商用处理器可用于 XSL-FO。甚至 Apache FOP 也是一个很好的生成 pdf 的工具。

虽然我没有使用过 LuaTex,但我发现 XSL-FO 工作起来很有趣。它还仅使用 XML 来生成 pdf。如果你问我,我会告诉你,它简单但功能强大。而且我也不希望它死掉..:)

I guess the only reason for the less availability of XSL-FO processors is due to the fact that it's formatting options are pretty large and quite complex too..

Since the amount of complexity involved, no one wants to sweat so much and make it open sourced. I heard there were quite good number of cool commercial processors available for XSL-FO. Even Apache FOP is a nice one to generate pdfs out of it.

Though i haven't used LuaTex, i found XSL-FO is a fun to work. Also it uses just XML to generate pdfs. If you ask me i will tell, it's simple yet powerful. And also i don't want it to die either.. :)

酸甜透明夹心 2024-09-04 21:37:38

目前除了 FOP 和其他一些格式化程序之外,还没有免费的 XSL-FO 格式化程序,(恕我直言)它们实际上并不可用。但这并不意味着 XSL-FO 已经死了,它在技术文档中被大量使用。

创建一个功能齐全、符合标准的 XSL-FO 格式化程序非常困难,而 FOP 尚不存在。我猜他们是被标准的纯粹复杂性所困扰。

我的公司目前正在创建另一个 XSL-FO 格式化程序,重点关注基于 LuaTeX 的高排版输出,所以我知道我对这个领域有所了解。目前尚未决定是否开源。 (抱歉,我无法帮助您)。

所以我的答案是:使用 Apache FOP。即使最后一次更改是在不久前,但此时它还是非常有用的。 XSL-FO 还远未消亡。如果您负担得起,请使用合适的 XML 编辑器(例如 OxygenXML)进行编辑,它使编辑 XSL 样式表变得有趣。 (我不会通过提及这一点得到任何金钱。)

There is currently no free XSL-FO formatter besides FOP and a few others, which are (IMHO) not really usable. But that does not mean, XSL-FO is dead or so, it is used heavily in technical documentation.

Creating a full featured, standard compliant XSL-FO formatter is pretty hard, and FOP is not there yet. I'd guess that they are bitten by the pure complexity of the standard.

My company is currently creating another XSL-FO formatter with focus on high typographical output based on LuaTeX, so I know I bit of this area. It is not decided yet whether this will be open sourced or not. (Sorry that I can't help you there).

So my answer is: go with Apache FOP. Even if the last change is some time ago, it is pretty usable at this point. And XSL-FO is far from being dead. If you can afford it, use a decent XML Editor (such as OxygenXML) for editing, it makes editing XSL stylesheets fun. (I don't get any money by mentioning this.)

念﹏祤嫣 2024-09-04 21:37:38

不,既不是死亡,也不是利基市场。

2010 年的问题指出上一个 FOP 版本是在 2008 年。截至 2018 年,FOP 在 2015 年至 2018 年间每年都会发布一个版本(请参阅 https://xmlgraphics.apache.org/fop/news.html)。如果您还想查看商业格式化程序,Antenna House 大约每 45 天发布一次维护版本(请参阅 https://www.antennahouse.com/antenna1/news-events/)。

https://www.antennahouse.com/antenna1/formatter/ 目前有示例链接汽车手册、年度报告和税表。德国的火车票是使用 XSL-FO 生成的。有时我会惊讶它的使用如此广泛。

No, neither dead nor niche.

The question in 2010 pointed to the previous FOP release being in 2008. As of 2018, FOP has made a release every year between 2015 and 2018 (see https://xmlgraphics.apache.org/fop/news.html). If you were to also look at commercial formatters, Antenna House makes a maintenance release roughly every 45 days (see https://www.antennahouse.com/antenna1/news-events/).

https://www.antennahouse.com/antenna1/formatter/ currently has links to samples of a car manual, an annual report, and a tax form. Train tickets in Germany are generated using XSL-FO. I'm sometimes surprised how widely it is used.

惜醉颜 2024-09-04 21:37:38

如果您是该领域的新手,您还可以使用视觉设计工具。我发现 Ecrion 中的 XSL-FO 设计器对于熟悉 XSLT 和 XSL-FO 的程序员都有好处,需要对模板进行更改的老女士(我们正在部署基于 XSL-FO 的桌面解决方案,以取代旧的专有解决方案,女士们可以对文档模板进行一些小更改:))。

FOP 确实不再被维护,但商业供应商在提供更快且相当实惠的解决方案方面做得非常出色,并且功能集随着每个版本的发布而不断增长(XSL-FO 规范 正在制定中!)。

If you are new in this area you can also use a visual design tool. I found the XSL-FO Designer from Ecrion to be good for both programmers familiar with XSLT and XSL-FO and old ladies that need to make changes to the templates (we are deploying a desktop solution based on XSL-FO that replaces an older proprietary solution and the ladies can make small changes to the document templates :) ).

FOP is indeed not maintained anymore, but the commercial vendors are doing a great job at providing faster and quite affordable solutions and the set of features is growing with every release (a 2.0 draft of the XSL-FO specifications is now in the works!).

愚人国度 2024-09-04 21:37:38

正式消亡

XSL-FO将于 2013 年 11 月 2 日星期六 ,Liam RE Quin < a href="http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/201311/msg00012.html" rel="nofollow noreferrer">写道:
“我们已经关闭了工作组,因为参与人数不足”,W3C XML 活动负责人,关于 XSL-FO 2.0 连续性。

工作草案的最后一次更新是在 2012 年 1 月,现在已确认:W3C 停止开发 XSL-2

为什么?它将被 CSS3-page 取代,参见 使用 XSL-FO、CSS3 而不是 CSS2 来创建 PDF 等分页文档?

PS:开源项目很早就染色了。例如,Apache XSL-FO 项目 的最后一个版本是在 2008 年 8 月,然后是 2012 年(感谢@mzjn 的更新!),(FOP v1.1)修复了约 100 个错误。

-----

编辑:2015 年 6 月,XSL-FO 2.0 仍保留为“W3C 工作草案 17”(2012 年 1 月)。但我们需要更正有关 Apache 的 PS(感谢 @mzjn!),它已发布为 Apache FOP 2.0< /a>. 3B2 等软件也得到了维护。

XSL-FO is officially dying

On Sat, 2013-11-02, Liam R. E. Quin wrote:
"We have closed the Working Group because not enough people were taking part", W3C XML Activity Lead, about the failure of XSL-FO 2.0 continuity.

The last update for the Working Draft was in January 2012, and now confirmed: W3C stop developing XSL-2.

Why? It will be replaced by CSS3-page, see Use of XSL-FO, CSS3 instead of CSS2 to create Paginated documents like PDF?

PS: open-source projects dyed early. The Apache XSL-FO project last release, for instance, was in August 2008, then in 2012 (thanks @mzjn for updating!), with (FOP v1.1) ~100 fixded bugs.

-----

Edit: in Jun 2015 XSL-FO 2.0 remains as "W3C Working Draft 17" (of January 2012). But we need to correct PS about Apache (thanks @mzjn!), that was released as Apache FOP 2.0. Also softwares like 3B2 has been maintained.

血之狂魔 2024-09-04 21:37:38

在开发 XSL-FO 处理器时,您必须考虑格式化要求的复杂程度以及任何处理器如何满足您的需求。 FOP 当然不具备您在 Antenna House 产品中找到的所有功能,但可能可以满足您对基本杂志布局所需的大部分功能。

至于 FO 的复杂性,它确实涵盖了广泛的格式化需求,但通过一些练习,基础知识并不难掌握。如果您对 XSL 有一定的应用知识并且有任何 CSS 经验,那么您应该可以轻松掌握 FO 基础知识。我通过谷歌搜索、阅读和从简单到复杂的构建来获取我所知道的知识。

While XSL-FO processor are being developed, you have to consider how complex your formatting requirements are and how well any processor meets your need. FOP certainly does not all the features you'll find in the Antenna House product but probably does most of what you want for a basic magazine layout.

As for the complexity of FO, it certainly covers a broad spectrum of formatting needs, but the basics are not so difficult to pick up with a little practice. If you have a fair working knowledge of XSL and any experience with CSS, you should pick up FO basics easily. I've picked up what I know by just Googling and reading and building from simple to complex.

佼人 2024-09-04 21:37:38

Apache FOP 得到维护,最近才达到 1.0 版,但不要被愚弄,这不是第一个版本,而是多年工作的结晶。几年前有一段时间,该项目看起来好像已经死了,但当时他们正在进行重大改变。从那时起,定期发布版本,每个版本都改进了兼容性和功能。

另外,如果您确实遇到问题(我的意思是渲染器的错误或技术问题,而不是有关 FO 的问题),我发现 FOP 团队非常有帮助,并且总是给出快速响应。

Apache FOP is maintained and has only recently reached version 1.0 but don't be fooled this isn't the first release as is the culmination of many years of work. There was a period several years ago where it looked as if the project was dead but they were working on major changes at the time. Since then there have been releases on a regular basis with each one improving the compatibility and functionality.

Also and if you do have problems (I mean bugs or technical issues with the renderer not questions about FO) I've found the FOP team really helpful and have always given quick responses.

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