Parsing RDF using XSLT in Ruby

These files support XSLT-based RDF parsing, with the output in (something approximating) the RDFCore WG's NTriples syntax.

Installation

For XSLT support in Ruby, we use the Sablotron module. There are a couple of other native Ruby XSLT implementations, but I couldn't get them to work with the XSLT docs used here.

To install, get Sablotron installed, make sure you have both ruby and ruby-dev installed (as packaged for debian, anyway), and run the configure /make rituals as per the README in the sablot distribution. The Ruby Sablot tools need the Sablotron header files too; these are also packaged separately from sablotron.

Here's what I installed to have this running under Debian:

   apt-get install ruby
   apt-get install sablotron
   apt-get install ruby-dev
   apt-get install libsablot0-dev

The XSLT/RDF parser was originally a slight modification of Jason Diamond's. I'm now using a revision created by Jason (see initial snapshot).

danbri