exsom v0.2.1 Exsom.XSD

Functions for handling in-memory XSD documents.

Summary

Functions

This function can be passed to Exsom.XSD.parse as the value for the ‘include_fun’ option. It will attempt to retrieve imports, includes and redefines that use an url

Parses a XSD document and compiles it into a Exsom.model

Functions

find(namespace, location, include_dirs, include_list)

Specs

find(atom, atom, atom, atom) :: any

This function can be passed to Exsom.XSD.parse as the value for the ‘include_fun’ option. It will attempt to retrieve imports, includes and redefines that use an url.

parse(xsd, opts \\ [])

Specs

parse(xsd :: Exsom.xsd, []) :: {atom, Exsom.model}

Parses a XSD document and compiles it into a Exsom.model.