Project

xmlmunger

0.01
No release in over 3 years
Low commit activity in last 3 years
XML files typically come in nested structures. For data extraction purposes, we frequently wish to have a flat hash instead. The naming then becomes tricky, because there can be collision in the terminal nodes. However, if we use the chain of parent tags joined with an underscore, this provides a unique name for every data point in the XML file. The goal of this package is to make it very simple to convert XML files into flat hashes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.6.1
>= 2.3.0
 Project Readme

XML Munger: Transform XML files into hashes Build Status Code Climate

Convert XML files into flat hashes with automatic naming via nested paths.

Testing

To test the gem, simply run rake from the root of this project.