{"id":109,"date":"2007-06-27T09:18:44","date_gmt":"2007-06-27T09:18:44","guid":{"rendered":"http:\/\/quinert.com\/blog\/xml-rss2.php?itemid=40"},"modified":"2007-06-27T09:18:44","modified_gmt":"2007-06-27T09:18:44","slug":"big-xml-files-rexml-and-learning-about-stream-parsers","status":"publish","type":"post","link":"http:\/\/www.software-testing.com.au\/blog\/2007\/06\/27\/big-xml-files-rexml-and-learning-about-stream-parsers\/","title":{"rendered":"Big XML files, REXML and learning about stream parsers"},"content":{"rendered":"<p>After taking the easy route and building some XML check test scripts using Ruby and REXML&#8217;s DOM access, I decided that I really didn&#8217;t want my computer grinding to a halt for a whole day while it parsed a gig and a half of XML.  So it was time to try a streaming parser.  Unfortunately, the REXML website seemed to be unavailable.  Which led me to this very nice tutorial on Jan Vereecken&#8217;s blog:<\/p>\n<p><a href=\"http:\/\/www.janvereecken.com\/2007\/4\/11\/event-driven-xml-parser-in-ruby\">http:\/\/www.janvereecken.com\/2007\/4\/11\/event-driven-xml-parser-in-ruby<\/a><\/p>\n<p>I&#8217;m pretty sure it&#8217;s nicer than the one on the REXML site, but I will have to wait and see.  <\/p>\n<p>Anyway, thanks Jan!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After taking the easy route and building some XML check test scripts using Ruby and REXML&#8217;s DOM access, I decided that I really didn&#8217;t want my computer grinding to a halt for a whole day while it parsed a gig and a half of XML. So it was time to try a streaming parser. Unfortunately, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,30,34,36,1],"tags":[72,130,77],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-ruby","category-software-testing","category-test-automation","category-test-tools","category-uncategorized","tag-rexml","tag-ruby","tag-stream-parser"],"_links":{"self":[{"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":0,"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.software-testing.com.au\/blog\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}