Trees | Indices | Help |
---|
|
This module implements the XML POM -- the Python Object Model for XML. It is something like DOM, but more Python-ic, and easier to use. These base classes are used to build POM source files which are self-validating python-based XML constructor objects. The major parts of the dtd2py command line tool are also here.
|
|||
ValidationError ValidationError This exception is raised when an attempt is made to construct an XML POM tree that would be invalid. |
|||
IndentedText | |||
Text | |||
Comment | |||
ElementNode | |||
Fragments Fragments is a special holder class to hold 'loose' markup fragments. |
|||
POMDocument | |||
ObjectParserHandler | |||
ContentModel Represents and validates a content model. |
|||
_ContentModelGenerator _ContentModelGenerator(rawmodel) The DTD parser generated and final content model are so different that a different content model generator is used for this object. |
|||
Enumeration | |||
AttributeList | |||
_AttributeType | |||
IDREFS | |||
ENTITIES | |||
NMTOKENS | |||
CDATA | |||
ID | |||
IDREF | |||
NMTOKEN | |||
ENTITY | |||
PCDATA | |||
XMLAttribute | |||
DTDConsumerForSourceGeneration |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
True = 1
|
|||
False = 0
|
|||
ANY = True
|
|||
EMPTY = None hash(x) |
|||
AT_CDATA = 1
|
|||
AT_ID = 2
|
|||
AT_IDREF = 3
|
|||
AT_IDREFS = 4
|
|||
AT_ENTITY = 5
|
|||
AT_ENTITIES = 6
|
|||
AT_NMTOKEN = 7
|
|||
AT_NMTOKENS = 8
|
|||
REQUIRED = 11
|
|||
IMPLIED = 12
|
|||
DEFAULT = 13
|
|||
FIXED = 14
|
|||
_ATTRTYPEMAP =
|
|||
_ATTRCLASSMAP =
|
|||
_DEFAULTMAP =
|
|||
__package__ =
|
|
Converts a file name into a file name inside the dtds package. This file name is the destination for generated python files. |
|
_ATTRTYPEMAP
|
_ATTRCLASSMAP
|
_DEFAULTMAP
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 25 10:43:30 2008 | http://epydoc.sourceforge.net |