| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
object --+    
         |    
_Validator --+
             |
            XMLSchema
XMLSchema(self, etree=None, file=None) Turn a document into an XML Schema validator.
Either pass a schema as Element or ElementTree, or pass a file or filename through the file keyword argument.
Passing the attribute_defaults boolean option will make the schema insert default/fixed attributes into validated documents.
| 
 | |||
| 
 | |||
| 
 | |||
| a new object with type S, a subtype of T | 
 | ||
| Inherited from  Inherited from  Inherited from  | |||
| 
 | |||
| Inherited from  Inherited from  | |||
| 
 | |||
| 
 Validate doc using XML Schema. Returns true if document is valid, false if not. | 
| 
 
 | 
| 
 
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 24 17:06:47 2017 | http://epydoc.sourceforge.net |