Skip to content

Parses a csv in supported formats and outputs valid xml supported by the swedish authorities.

Notifications You must be signed in to change notification settings

otovo/swedish-subsidy-xml-generator

Repository files navigation

Swedish Subsidy XML Generator

Contains a set of functions to help Otovistas convert csv files to xml file to help speed up applications for Swedish Subsidies.

CSVs must exported in the format defined in this sheet. Do not change the headers, as this will affect the xml output.

Instructions

  1. Clone the repository.
  2. Run yarn install
  3. Add the csv files to the folder sources/.
  4. Run node gront-stod-csv-to-xml <PATH_TO_GRONT_STOD_FILE_NAME> to convert the gront stod csv file to xml. The resulting xml will be generated in the documents/ folder.
  5. Run node rot-csv-to-xml <PATH_TO_ROT_FILE_NAME> to convert the rot csv file to xml. The resulting xml will be generated in the documents/ folder.

About

Parses a csv in supported formats and outputs valid xml supported by the swedish authorities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published