From: Ross Bamford Date: 2005-12-23T22:07:50+09:00 Subject: Re: xslt processor for ruby On Fri, 23 Dec 2005 12:11:07 -0000, Agnieszka Figiel wrote: > Wilson Bilkovich wrote: >> On 12/22/05, Agnieszka Figiel wrote: >>> Hello, >>> >>> could you please recommend a xslt processor for ruby? I tried Michael >>> Neumann's xslt4r which worked great for simple xsls. Now I'm looking >>> for >>> something more up to date - a problem I ran into was when trying to use >>> the generate-id function. Any library that would support that? >>> >> Have you run into these yet? >> (recently updated) >> http://raa.ruby-lang.org/project/ruby-xslt/ >> >> (way, way old) >> http://www.rubycolor.org/sablot/ > > Thank you. I'm wondering if any of these supports XSLT 2.0? > (Not given more than a glance to Libxslt-Ruby yet, but here's how it looks to me right now): From what I gather XSLT 2.0 is still a recommendation (a strong one, but still), and only Saxon has any plans to implement it properly. On the Libxml/Libxslt project we're currently concentrating on getting XML up to date, and should be onto a fresh release of XSLT sometime in Q12006, but AIUI at the moment, although Libxslt supports "some common extensions" to 1.0, there are no plans to go to 2.0 [1]. It seems most of the other library projects are of the same mind too [2]. If that's the case, Libxslt-ruby would have to follow suit I guess. There are a few 'mostly there' implementations, but not with Ruby bindings as far as I can see. Maybe someone else has worked/is working on something with one of them? [1] http://mail.gnome.org/archives/xslt/2004-October/msg00012.html (oldish but relevant I think) [2] http://www.biglist.com/lists/xsl-list/archives/200511/msg00624.html (and resulting thread) -- Ross Bamford - rosco@roscopeco.remove.co.uk