Nokogiri Usage
Just a quick reminder how easy xml transformation with xslt can be. Originally I used the libxml-ruby bindings but they threw a NoMethodException from deep inside the libxml.
After switching to nokogiri the code looked like this and worked as expected.
xslt = Nokogiri::XSLT.parse(File.open('some_xslt.xsl'))
result = xslt.transform(Nokogiri::XML.parse(xmlString))
0 TrackBacks
Listed below are links to blogs that reference this entry: Nokogiri Usage.
TrackBack URL for this entry: http://www.innoq.com/mt4/mt-tb.cgi/2516
Leave a comment