From: "Ralf Müller" Date: 2004-07-15T21:16:39+09:00 Subject: problems with xslt4r Hi, I'd like to use 'xslt4r', because i cannot install libxml2 + libxslt for libxslt (ruby). But i get theses errors when invoking xpath from 'xmlscan': ram@lilith:~/src/xml$irb irb(main):001:0> require 'xpath' /usr/local/lib/ruby/site_ruby/1.8/xpath.rb:10: warning: Object#type is deprecated; use Object#class => true irb(main):002:0> and if i try to apply the sheet on the test-data: ram@lilith:~/src/tar/xslt4r-0.0.2/test$ls data.xml stylesheet.xsl stylesheet2.xsl test.xml test_style.xsl ram@lilith:~/src/tar/xslt4r-0.0.2/test$ruby -rxslt test_style.xsl test.xml /usr/local/lib/ruby/site_ruby/1.8/xpath.rb:10: warning: Object#type is deprecated; use Object#class test_style.xsl:1: parse error ^ test_style.xsl:1: parse error ^ with: ram@lilith:~/src/tar/xslt4r-0.0.2/test$ruby -v ruby 1.8.2 (2004-05-26) [i686-linux] is this version of xslt4r to old? Anyway, does anyone know an easy way to apply stylesheets with ruby without having libxml, libxslt(C-Lib) installed? regards ralf