Module libxml2 :: Class relaxNgSchema
[hide private]
[frames] | no frames]

Class relaxNgSchema

source code

Instance Methods [hide private]
 
__init__(self, _obj=None) source code
 
__del__(self) source code
 
relaxNGDump(self, output)
Dump a RelaxNG structure back
source code
 
relaxNGDumpTree(self, output)
Dump the transformed RelaxNG tree.
source code
 
relaxNGNewValidCtxt(self)
Create an XML RelaxNGs validation context based on the given schema
source code
 
RelaxNGSetSchema(self, reader)
Use RelaxNG to validate the document as it is processed.
source code
Method Details [hide private]

RelaxNGSetSchema(self, reader)

source code 
Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is None, then RelaxNG validation is desactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated.