Module libxml2 :: Class xmlAttr
[hide private]
[frames] | no frames]

Class xmlAttr

source code

xmlCore --+    
          |    
    xmlNode --+
              |
             xmlAttr

Instance Methods [hide private]
 
__init__(self, _obj=None) source code
 
__repr__(self) source code
 
debugDumpAttr(self, output, depth)
Dumps debug information for the attribute
source code
 
debugDumpAttrList(self, output, depth)
Dumps debug information for the attribute list
source code
 
copyProp(self, target)
Do a copy of the attribute.
source code
 
copyPropList(self, target)
Do a copy of an attribute list.
source code
 
freeProp(self)
Free one attribute, all the content is freed too
source code
 
freePropList(self)
Free a property and all its siblings, all the children are freed too.
source code
 
removeProp(self)
Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes
source code
 
removeID(self, doc)
Remove the given attribute from the ID table maintained internally.
source code
 
removeRef(self, doc)
Remove the given attribute from the Ref table maintained internally.
source code

Inherited from xmlNode: addChild, addChildList, addContent, addContentLen, addNextSibling, addPrevSibling, addSibling, copyNode, copyNodeList, debugDumpNode, debugDumpNodeList, debugDumpOneNode, docCopyNode, docCopyNodeList, docSetRootElement, freeNode, freeNodeList, getBase, getContent, getLang, getSpacePreserve, hasNsProp, hasProp, isBlankNode, isID, isRef, isText, lastChild, lineNo, listGetRawString, listGetString, lsCountNode, lsOneNode, newChild, newNs, newNsProp, newNsPropEatName, newProp, newTextChild, noNsProp, nodePath, ns, nsDefs, nsProp, prop, reconciliateNs, replaceNode, schemaValidateOneElement, searchNs, searchNsByHref, setBase, setContent, setContentLen, setLang, setListDoc, setName, setNs, setNsProp, setProp, setSpacePreserve, setTreeDoc, shellPrintNode, textConcat, textMerge, unlinkNode, unsetNsProp, unsetProp, validNormalizeAttributeValue, xincludeProcessTree, xincludeProcessTreeFlags, xpathCastNodeToNumber, xpathCastNodeToString, xpathCmpNodes, xpathNewNodeSet, xpathNewValueTree, xpathNextAncestor, xpathNextAncestorOrSelf, xpathNextAttribute, xpathNextChild, xpathNextDescendant, xpathNextDescendantOrSelf, xpathNextFollowing, xpathNextFollowingSibling, xpathNextNamespace, xpathNextParent, xpathNextPreceding, xpathNextPrecedingSibling, xpathNextSelf, xpointerNewCollapsedRange, xpointerNewContext, xpointerNewLocationSetNodes, xpointerNewRange, xpointerNewRangeNodes

Inherited from xmlCore: __eq__, __getattr__, __hash__, __iter__, __ne__, __str__, c14nMemory, c14nSaveTo, free, get_children, get_content, get_doc, get_last, get_name, get_next, get_parent, get_prev, get_properties, get_type, removeNsDef, saveTo, serialize, walk_breadth_first, walk_depth_first, xpathEval, xpathEval2

Properties [hide private]

Inherited from xmlCore: children, content, doc, last, name, next, parent, prev, properties, type

Method Details [hide private]

__init__(self, _obj=None)
(Constructor)

source code 
Overrides: xmlNode.__init__

__repr__(self)
(Representation operator)

source code 
Overrides: xmlNode.__repr__

copyProp(self, target)

source code 
Do a copy of the attribute.
Overrides: xmlNode.copyProp

copyPropList(self, target)

source code 
Do a copy of an attribute list.
Overrides: xmlNode.copyPropList