kripken / xml.js

Port of libxml to JavaScript using Emscripten
Other
174 stars 67 forks source link

Add support for validation against RELAX NG schema #29

Closed JRegimbal closed 5 years ago

JRegimbal commented 5 years ago

Adds an optional field to the options given to the validateXML function. If the user adds a field "format" with the content "rng", then the argument used will be "--relaxng" instead of "--schema". Otherwise "--schema" is used.