在Go语言中的XSLT支持

huangapple go评论85阅读模式
英文:

xslt support in go

问题

亲爱的围棋爱好者,

我需要在Go程序中使用XSLT支持。
据我所知,将来不会有XSLT库,并且目前Go语言中也没有与XSLT库的绑定。

在Linux或跨平台上,最快的库是用于:
1)XSLT 1.0转换
2)XSLT 2.0转换

谢谢!

英文:

Dear fellow go enthusiasts,

I would need xslt support in a go program.
As far as I know there will be no xslt library in the the near future
and currently there is no binding to a xslt library in go.

What is the FASTEST library on linux or cross platform to do

  1. xslt 1.0 transformation
  2. xslt 2.0 transformation

答案1

得分: 1

我希望以下内容可以在GO程序中使用:

在Linux上使用XSLT 1.0

  1. Saxon 6.5.5(基于Java,应该可以在Linux上工作)
  2. LibXSLT(基于C)

我不知道哪个更快 - 不应该仅仅基于一个是基于Java,另一个是基于C来得出结论。

在Linux上使用XSLT 2.0

  1. Saxon 9.2(同样是基于Java,必须在Linux上工作)
  2. ????

即使还有其他在Linux上工作的XSLT处理器,根据我的经验,Saxon 9.x比任何其他现有的XSLT 2.0处理器快得多。它也是最符合规范的之一。

英文:

I hope the following could be used in a GO program:

XSLT 1.0 on Linux:

  1. Saxon 6.5.5 (Java based and should work on Linux)
  2. LibXSLT (C-based)

I don't know which one is faster -- one shouldn't make a bold conclusion based just on the fact that one is Java based and the other is C-based.

XSLT 2.0 on Linux:

  1. Saxon 9.2 (again, Java based must work on Linux).
  2. ????

Even if there is another XSLT processor working on Linux, in my experience Saxon 9.x is factors of magnitude faster than any other existing XSLT 2.0 processor. It is also one of the most compliant.

huangapple
  • 本文由 发表于 2010年10月14日 08:32:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/3929143.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定