Builder which constructs document fragments given XML source text and
a context node.
The context node is expected to provide information about the
namespace declarations which are in scope at the start of the
fragment.
|
|
|
|
|
reset(self)
Free all data structures used during DOM construction. |
|
|
|
|
parseFile(self,
file)
Parse a document fragment from a file object, returning the fragment
node. |
|
|
|
|
parseString(self,
string)
Parse a document fragment from a string, returning the fragment node. |
|
|
|
|
_getDeclarations(self)
Re-create the internal subset from the DocumentType node. |
|
|
|
|
|
|
|
|
|
Inherited from ExpatBuilder:
attlist_decl_handler,
character_data_handler,
character_data_handler_cdata,
comment_handler,
createParser,
element_decl_handler,
end_cdata_section_handler,
end_doctype_decl_handler,
end_element_handler,
entity_decl_handler,
first_element_handler,
getParser,
install,
notation_decl_handler,
pi_handler,
start_cdata_section_handler,
start_doctype_decl_handler,
start_element_handler,
xml_decl_handler
|