views:

50

answers:

1
+1  Q: 

xslt support in go

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  A: 

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.

Dimitre Novatchev