From: Andy Koch Date: 2007-02-22T01:48:12+09:00 Subject: Re: ruby-xslt usage Thanks guys, I ended up doing... require 'xml/libxml' require 'xml/libxslt' ... turns out I needed to gem install libxslt seperately. Although it's strange to me: since I tried using libxslt methods but after some investigation I found I had a ruby-xslt object afterall. Ideally I'd spend time getting to the bottom but work has deadlines. Pau Garcia i Quiles schrieb: > Hello, > > I am using it successfully in XSPF for Ruby (http://xspf.rubyforge.org). > Actually, I am de gem packager as the author does not provide a gem. > > Take a look at the xspf.rb file in XSPF for Ruby and you'll see how it > works. You need to require 'xml/xslt'. > > --Pau Garcia i Quiles > http://www.elpauer.org > (Due to the amount of work, I usually need 10 days to answer) > > > Quoting Andy Koch : > >> Does anybody know how to use the ruby-xslt library? >> >> I've managed to get it installed, at least "gem query list" thinks that >> it is installed. >> >> However, none of the examples I've seen (included with library code) >> work correctly. >> >> I'm not sure what to "require 'here'"? >> >> I've tried many variations, including (but not limited to).. >> >> require 'xml/xslt' >> require '../xslt' >> require 'xslt' >> require 'ruby-xslt' >> >> and others, but nothing works. >> >> Any have a clue? >> >> Regards, >> >> Andy Koch > > > >