Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Code that I write about on my blog and share here.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 deploy
Octocat-spinner-32 plugin
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 README.mdown
Octocat-spinner-32 ml
Octocat-spinner-32 ml.bat
README.md

blog-code

Code that I write about on my blog and share here. This repository is set up using the Roxy framework to make it easy to write unit tests, but I'm intending that code in here can be used separately from Roxy.

CSV Conversion

Code to convert lines of Comma Separated Values (CSV) into XML. You can build a template XML that includes hierarchy and you can specify actions to be applied to elements during the conversion. Relevant files:

  • src/app/models/csv-lib.xqy
  • src/test/suites/csv-lib/build-map.xqy
  • src/test/suites/csv-lib/convert.xqy
  • src/test/suites/csv-lib/suite-setup.xqy
  • src/test/suites/csv-lib/suite-teardown.xqy
  • src/test/suites/csv-lib/test-data/templates.xqy
Something went wrong with that request. Please try again.