From: pc000@... (PaulC) Date: 2001-12-20T07:08:03+09:00 Subject: [ruby-talk:28999] Re: Ruby and XML "James Britt (rubydev)" wrote in message news:... > The sablot package (http://www.rubycolor.org/sablot/) is a Ruby binding to the Sablotron > XSLT library (http://www.rubycolor.org/sablot/). I've not used it much with Ruby as I had > problems getting it built on a particular remote machine. I have used Sablotron though > PHP and (as I recall) it's fairly robust. To use it you will need to compile the source > code. You will also need to get and build expat (http://sourceforge.net/projects/expat/) > One of the limitations with Sablotron is the requirement to re-parse the data - it would be nice to have a solution where you could apply an XSLT transform to an in-memory XML tree structure without serialising/ de-serialising - one of the major advantages of the Gnome libxml/libxslt l ibs is that they supports this model. It would be a good thing if whatever standard for a Ruby parser emerges also allowed this - given the effort i nvolved to create a complaint XSLT implementation the best approach would probably be to be able to take a Ruby tree representation and write this directly to a Sablot/libxslt tree and apply the transform. PaulC