parameters: (self, doc, elem)
return_statement: return ret
docstring: Try to validate a single element and it's attributes,
            basically it does the following checks as described by the
            XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
            Required Attribute ] Then call xmlValidateOneAttribute()
            for each attribute present.  The ID/IDREF checkings are
             done separately
docstring_summary: Try to validate a single element and it's attributes,
            basically it does the following checks as described by the
            XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
            Required Attribute ] Then call xmlValidateOneAttribute()
            for each attribute present.  The ID/IDREF checkings are
             done separately
docstring_tokens: Try to validate a single element and it s attributes basically it does the following checks as described by the XML - 1 . 0 recommendation : - [ VC : Element Valid ] - [ VC : Required Attribute ] Then call xmlValidateOneAttribute () for each attribute present . The ID / IDREF checkings are done separately
function: def validateOneElement(self, doc, elem):
          """Try to validate a single element and it's attributes,
            basically it does the following checks as described by the
            XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
            Required Attribute ] Then call xmlValidateOneAttribute()
            for each attribute present.  The ID/IDREF checkings are
             done separately """
          if doc is None: doc__o = None
          else: doc__o = doc._o
          if elem is None: elem__o = None
          else: elem__o = elem._o
          ret = libxml2mod.xmlValidateOneElement(self._o, doc__o, elem__o)
          return ret
function_tokens: def validateOneElement ( self , doc , elem ) : if doc is None : doc__o = None else : doc__o = doc . _o if elem is None : elem__o = None else : elem__o = elem . _o ret = libxml2mod . xmlValidateOneElement ( self . _o , doc__o , elem__o ) return ret