views:

82

answers:

0

Simple question: are there any solid XSLT libraries that work in both Ruby and JRuby?

  • REXML works in both, but does not have XSLT support.
  • ruby-xslt doesn't work in JRuby.
  • The latest Nokogiri betas do support JRuby, but the support is still buggy and throws occasional NullPointerExceptions for XML input that works fine in Ruby. (In particular, any transforms that don't result in valid XML cause it to barf, even if xsl:output is set to 'text'!)
  • JXslt is just a wrapper for Java's Xalan/Saxon and doesn't work in Ruby.

Please tell me I'm missing something?