def schema(relaxng):
tree = etree.fromstring(relaxng)<EOL>return etree.RelaxNG(tree)<EOL>
Parse a RelaxNG schema document and return an etree instance of it
:param relaxng: The RelaxNG schema as a string
:type  relaxng: str

:return: LXML etree RelaxNG instance
:rtype : etree.RelaxNG