O'Reilly logo

XML Companion, The, Third Edition by Neil Bradley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required