sarkit.xmlhelp.XsdHelper

class XsdHelper(root_ns)

Abstract base class that retrieves transcoders and type info for elements of a given XML schema.

Parameters:
root_nsstr

Target namespace of the schema document

Methods

get_elem_transcoder(elem)

Return the appropriate transcoder given an element.

get_elem_typeinfo(elem)

Return the typename and typedef for a subelement

get_transcoder(typename[, tag])

Return the appropriate transcoder given the typename (and optionally tag).

get_typeinfo(elempath, roottag)

Return the typename and typedef for a elementpath