There are two scripts that do the exact same thing convert.rb and
convert.py. The python version requires no dependencies be installed,
the Ruby version requires Nokogiri.
This script uses Python or Ruby and you'll need git too if you're cloning the code.
- Clone or download the repository.
$ git clone https://github.com/waynegraham/vermont.git
$ cd vermont
Set the path in the script where you have the files downloaded:
RECORDS_PATTERN = "./PT*.xml"This will find all XML documents in that directory.
In the terminal, run the script:
$ python convert.py
This will create a file named records.xml of the flattend records in
the XML files that can be easily imported in to Access.
Set the path in the script where you have the files downloaded:
RECORDS_PATTERN = "./PT*.xml"This will find all XML documents in that directory.
In the terminal, run the script:
$ ruby convert.rb
This will create a file named records.xml of the flattend records in
the XML files that can be easily imported in to Access.