RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

reading large xml made easy

hey look …this is very large xml I have, I guess it has these elements inside, let me know if you find any one of these elements …. here it is…

Comments

Shame about the spam. You may be interest in https://github.com/shanna/xml-sax-machines/blob/master/lib/xml-sax-machines/fragment_builder.rb it builds a DocumentFragment from an XPATH match using the SAX interface in Nokogiri. Kinda of the best of both worlds. I haven’t used it in a long time but it should still work.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in