Add a attribute to this element.paramid The name of the attribute.paramvalue The value of the attribute.
Factory method to create a new comment and add it to this element. The content of the comment is escaped as appropriate.paramcontent The content of this comment.returnThe new comment.seeText
Add a element to this element.paramname The name of the new element.
Factory method to create a new text instance and add it to this element. The content of the text is escaped as appropriate.paramtext The text to add.returnThe new text instance.
Get all attributes of this element whose name matches the given name.paramname The attribute name.returnThe list of all matching attributes.
Get all attributes of this element.returnThe list of all attributes.
Get all comments in this element.returnThe list of all comments.
Get all child elements of this element.returnThe list of child elements.
Get all child elements of this element which have the specified name.paramname The element name.returnThe list of child elements.
Get the name of this element.returnThe name of this element.
Get all text contained in this element.returnThe list of text nodes contained in this element.
Set the name of this element. The previous name is discarded. Note that element names are not case-sensitive; on output they are all converted to upper-case.paramname The new name of this element.