Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

waynegraham/vermont

Repository files navigation

Converter

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.

Installation

This script uses Python or Ruby and you'll need git too if you're cloning the code.

$ git clone https://github.com/waynegraham/vermont.git
$ cd vermont

Python

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.

Ruby

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors