After asking Till some guestions I’ve figured out what’s left to write.
DB.pm already has:
Perl -> XML
SQL -> Perl (For printers and drivers)
XML -> Perl (For printers and drivers)
That only leaves me to write:
Perl -> SQL
SQL -> Perl (For options)
XML -> Perl (For options)
Functionality wise a good majority of hte code is already there. I also already have a function for create the tables from schema. After this I need to create a function to import a single XML and then a second function which calls the first function on all the XMLs.