The following are methods for XmlNode. All are instance methods.
public Dom.XmlNode addChildElement(String name, String namespace, String prefix)
Type: Dom.XmlNode
public Dom.XmlNode addCommentNode(String text)
Type: Dom.XmlNode
public Dom.XmlNode addTextNode(String text)
Type: Dom.XmlNode
public String getAttribute(String key, String keyNamespace)
Type: String
public Integer getAttributeCount()
Type: Integer
public String getAttributeValue(String key, String keyNamespace)
Type: String
For example, for the <xyz a:b="c:d" /> element:
public Dom.XmlNode getChildElement(String name, String namespace)
Type: Dom.XmlNode
public Dom.XmlNode[] getChildElements()
Type: Dom.XmlNode[]
public Dom.XmlNode[] getChildren()
Type: Dom.XmlNode[]
public String getNamespace()
Type: String
public Dom.XmlNodeType getNodeType()
Type: Dom.XmlNodeType
public Dom.XmlNode getParent()
Type: Dom.XmlNode
public Dom.XmlNode insertBefore(Dom.XmlNode newChild, Dom.XmlNode refChild)
Type: Dom.XmlNode
public Boolean removeChild(Dom.XmlNode childNode)
Type: Boolean