stag-flatten.pl - turns stag data into a flat table
stag-flatten.pl MyFile.xml dept/name dept/person/name
reads in a file in a stag format, and 'flattens' it to a tab-delimited table format. given this data:
(company (dept (name "special-operations") (person (name "james-bond")) (person (name "fred"))))
the above command will return a two column table
special-operations james-bond special-operations fred
stag-flatten.pl [-p PARSER] [-c COLS] [-c COLS]... <file> [COL][COL]...
xml assumed as default
(alternatively this argument can be written after the filename is specified)
still not working quite right...
the Data::Stag manpage