Welcome To Snipplr

Everyone's Recent Ruby Snippets Tagged xml

« Prev 1 Next »
I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time. Here’s a fairly simple solution in Ruby form.
0 533 posted 12 years ago by dom111
0 408 posted 13 years ago by sukantahazra
REXML does not seem to have a 'lang' method, which is strange since lang is in the XML 1.0 Specification §2.12 'Language Identification', and in many other libraries. Because of Ruby's 'monkey patching', it's pretty easy to add - you just recursivel...
1 336 posted 14 years ago by tommorris
« Prev 1 Next »