Node extensions
All the existing methods in the Node interface are still available. The following methods are described in the previous chapter:
short getNodeType(); String getNodeName(); String getNodeValue() throws DOMException; void setNodeValue(String nodeValue) throwsDOMException; boolean hasChildNodes(); NamedNodeMap getAttributes(); Document getOwnerDocument(); Node getFirstChild(); Node getLastChild(); Node getNextSibling(); Node getPreviousSibling(); Node getParentNode(); NodeList getChildNodes(); Node removeChild(Node oldChild) throws DOMException; Node insertBefore(Node newChild, Node refChild) throws DOMException; Node appendChild(Node newChild) throws DOMException; Node replaceChild(Node newChild, Node oldChild) throws DOMException; ...
Get XML Companion, The, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.