Function Summary |
|
createDocument(namespaceURI,
localName,
doctype)
|
|
from_unicode(s)
|
|
get_ns(ns)
|
|
Node_appendChild(node,
tmp)
|
|
Node_attributes(node)
|
|
Node_childNodes(node)
|
|
Node_createAttribute(node,
name)
|
|
Node_createAttributeNS(node,
ns,
name)
|
|
Node_createCDATASection(node,
value)
|
|
Node_createComment(node,
value)
|
|
Node_createElement(node,
name)
|
|
Node_createElementNS(node,
ns,
name)
|
|
Node_createTextNode(node,
value)
|
|
Node_data(node)
|
|
Node_doctype(node)
|
|
Node_equals(node,
other)
|
|
Node_getAttribute(node,
name)
|
|
Node_getAttributeNode(node,
name)
|
|
Node_getAttributeNodeNS(node,
ns,
localName)
|
|
Node_getAttributeNS(node,
ns,
localName)
|
|
Node_hasAttribute(node,
name)
|
|
Node_hasAttributeNS(node,
ns,
localName)
|
|
Node_importNode(node,
other,
deep)
|
|
Node_importNode_DOM(node,
other,
deep)
|
|
Node_insertBefore(node,
tmp,
oldNode)
|
|
Node_localName(node)
|
|
Node_namespaceURI(node)
|
|
Node_nextSibling(node)
|
|
Node_nodeName(node)
|
|
Node_nodeType(node)
|
|
Node_nodeValue(node)
|
|
Node_ownerDocument(node)
|
|
Node_parentNode(node)
|
|
Node_prefix(node)
|
|
Node_previousSibling(node)
|
|
Node_removeAttribute(node,
name)
|
|
Node_removeAttributeNS(node,
ns,
localName)
|
|
Node_removeChild(node,
child)
|
|
Node_replaceChild(node,
tmp,
oldNode)
|
|
Node_setAttribute(node,
name,
value)
|
|
Node_setAttributeNode(node,
attr)
|
|
Node_setAttributeNodeNS(node,
attr)
|
|
Node_setAttributeNS(node,
ns,
name,
value)
|
|
Node_setNodeValue(node,
value)
|
|
Node_tagName(node)
|
|
Node_textContent(node)
|
|
Node_xpath(node,
expr,
variables,
namespaces)
|
|
parse(stream_or_string,
html,
htmlencoding,
unfinished)
|
|
parseFile(s,
html,
htmlencoding,
unfinished)
|
|
Parser_configure(context)
|
|
Parser_document(context)
|
|
Parser_feed(context,
s)
|
|
Parser_parse(context)
|
|
Parser_push()
|
|
Parser_well_formed(context)
|
|
parseString(s,
html,
htmlencoding,
unfinished)
|
|
parseURI(uri,
html,
htmlencoding,
unfinished)
|
|
to_unicode(s)
|
|
toFile(node,
f,
encoding,
prettyprint)
|
|
toStream(node,
stream,
encoding,
prettyprint)
|
|
toString(node,
encoding,
prettyprint)
|
|
_check_namespace (current,
ns,
prefix)
Check the 'current' namespace definition node against 'ns' and 'prefix'. |
|
_find_namespace (node,
ns,
prefix)
Find the namespace definition node in the given 'node' for the given 'ns'
and 'prefix'. |
|
_find_namespace_for_prefix (node,
prefix)
Find the namespace definition node in the given 'node' for 'prefix'. |
|
_get_invented_prefix(node,
ns)
|
|
_get_prefix_and_localName(name)
|
|
_make_namespace (node,
ns,
prefix,
set_default)
Make a new namespace definition node within the given 'node' for 'ns',
'prefix', setting the default namespace on 'node' when 'prefix' is None and
'set_default' is set to a true value (unlike the default value for that
parameter). |