Trees Indices Help
Python Standard Library
Package xml :: Package dom :: Module expatbuilder :: Class InternalSubsetExtractor
[]

_ClassType InternalSubsetExtractor

ExpatBuilder --+
 |
 InternalSubsetExtractor

XML processor which can rip out the internal document type subset.

Instance Methods [hide private]
getSubset(self)
Return the internal subset as a string.
parseFile(self, file)
Parse a document from a file object, returning the document node.
parseString(self, string)
Parse a document from a string, returning the document node.
install(self, parser)
Install the callbacks needed to build the DOM into the parser.
start_doctype_decl_handler(self, name, publicId, systemId, has_internal_subset)
start_element_handler(self, name, attrs)

Inherited from ExpatBuilder : __init__ , attlist_decl_handler , character_data_handler , character_data_handler_cdata , comment_handler , createParser , element_decl_handler , end_cdata_section_handler , end_element_handler , entity_decl_handler , external_entity_ref_handler , first_element_handler , getParser , notation_decl_handler , pi_handler , reset , start_cdata_section_handler , xml_decl_handler

Inherited from ExpatBuilder (private): _finish_end_element , _finish_start_element , _handle_white_text_nodes , _setup_subset

Class Variables [hide private]
subset = None
Method Details [hide private]

parseFile(self, file)

Parse a document from a file object, returning the document node.

Overrides: ExpatBuilder.parseFile
(inherited documentation)

parseString(self, string)

Parse a document from a string, returning the document node.

Overrides: ExpatBuilder.parseString
(inherited documentation)

install(self, parser)

Install the callbacks needed to build the DOM into the parser.

Overrides: ExpatBuilder.install
(inherited documentation)

start_doctype_decl_handler(self, name, publicId, systemId, has_internal_subset)

Overrides: ExpatBuilder.start_doctype_decl_handler

end_doctype_decl_handler(self)

Overrides: ExpatBuilder.end_doctype_decl_handler

AltStyle によって変換されたページ (->オリジナル) /