def schemaParse ( self ) : ret = libxml2mod . xmlSchemaParse ( self . _o ) if ret is None : raise parserError ( 'xmlSchemaParse() failed' ) __tmp = Schema ( _obj = ret ) return __tmp
xsd schema parsing in python
parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances .
def schemaParse(self):
        """parse a schema definition resource and build an internal
           XML Shema struture which can be used to validate instances. """
        ret = libxml2mod.xmlSchemaParse(self._o)
        if ret is None:raise parserError('xmlSchemaParse() failed')
        __tmp = Schema(_obj=ret)
        return __tmp