See http://www.e-ms.ca/ for additional documentation (as well as examples, schematron etc.).