XML Parser for PL/SQL: W3C DOM API -- Node Methods, Node Types, and DOM Interface Types
Node Methods
The following lists the DOM API Node methods:
- FUNCTION isNull(n DOMNode) RETURN BOOLEAN;
- FUNCTION makeAttr(n DOMNode) RETURN DOMAttr;
- FUNCTION makeCDataSection(n DOMNode) RETURN DOMCDataSection;
- FUNCTION makeCharacterData(n DOMNode) RETURN DOMCharacterData;
- FUNCTION makeComment(n DOMNode) RETURN DOMComment;
- FUNCTION makeDocumentFragment(n DOMNode) RETURN DOMDocumentFragment;
- FUNCTION makeDocumentType(n DOMNode) RETURN DOMDocumentType;
- FUNCTION makeElement(n DOMNode) RETURN DOMElement;
- FUNCTION makeEntity(n DOMNode) RETURN DOMEntity;
- FUNCTION makeEntityReference(n DOMNode) RETURN DOMEntityReference;
- FUNCTION makeNotation(n DOMNode) RETURN DOMNotation;
- FUNCTION makeProcessingInstruction(n DOMNode) RETURN DOMProcessingInstruction;
- FUNCTION makeText(n DOMNode) RETURN DOMText;
- FUNCTION makeDocument(n DOMNode) RETURN DOMDocument;
- PROCEDURE writeToFile(n DOMNode, fileName VARCHAR2);
- PROCEDURE writeToBuffer(n DOMNode, buffer IN OUT VARCHAR2);
- PROCEDURE writeToClob(n DOMNode, cl IN OUT CLOB);
- PROCEDURE writeToFile(n DOMNode, fileName VARCHAR2, charset VARCHAR2);
- PROCEDURE writeToBuffer(n DOMNode, buffer IN OUT VARCHAR2, charset VARCHAR2);
- PROCEDURE writeToClob(n DOMNode, cl IN OUT CLOB, charset VARCHAR2);
- FUNCTION getNodeName(n DOMNode) RETURN VARCHAR2;
- FUNCTION getNodeValue(n DOMNode) RETURN VARCHAR2;
- PROCEDURE setNodeValue(n DOMNode, nodeValue IN VARCHAR2);
- FUNCTION getNodeType(n DOMNode) RETURN NUMBER;
- FUNCTION getParentNode(n DOMNode) RETURN DOMNode;
- FUNCTION getChildNodes(n DOMNode) RETURN DOMNodeList;
- FUNCTION getFirstChild(n DOMNode) RETURN DOMNode;
- FUNCTION getLastChild(n DOMNode) RETURN DOMNode;
- FUNCTION getPreviousSibling(n DOMNode) RETURN DOMNode;
- FUNCTION getNextSibling(n DOMNode) RETURN DOMNode;
- FUNCTION getAttributes(n DOMNode) RETURN DOMNamedNodeMap;
- FUNCTION getOwnerDocument(n DOMNode) RETURN DOMDocument;
- FUNCTION insertBefore(n DOMNode, newChild IN DOMNode, refChild IN DOMNode) RETURN DOMNode;
- FUNCTION replaceChild(n DOMNode, newChild IN DOMNode, oldChild IN DOMNode)> RETURN DOMNode;
- FUNCTION removeChild(n DOMNode, oldChild IN DOMNode) RETURN DOMNode;
- FUNCTION appendChild(n DOMNode, newChild IN DOMNode) RETURN DOMNode;
- FUNCTION hasChildNodes(n DOMNode) RETURN BOOLEAN;
- FUNCTION cloneNode(n DOMNode, deep boolean) RETURN DOMNode;
DOM Node Types
The following lists the DOM API Node types:
- DOM Node types
- ELEMENT_NODE
- ATTRIBUTE_NODE
- TEXT_NODE
- CDATA_SECTION_NODE
- ENTITY_REFERENCE_NODE
- ENTITY_NODE
- PROCESSING_INSTRUCTION_NODE
- COMMENT_NODE
- DOCUMENT_NODE
- DOCUMENT_TYPE_NODE
- DOCUMENT_FRAGMENT_NODE
- NOTATION_NODE
DOMException Types
The following lists the DOMException types:
- INDEX_SIZE_ERR
- DOMSTRING_SIZE_ERR
- HIERARCHY_REQUEST_ERR
- WRONG_DOCUMENT_ERR
- INVALID_CHARACTER_ERR
- NO_DATA_ALLOWED_ERR
- NO_MODIFICATION_ALLOWED_ERR
- NOT_FOUND_ERR
- NOT_SUPPORTED_ERR
- INUSE_ATTRIBUTE_ERR
DOM Interface Types
The following lists the DOM Interface types:
- DOM interface types
- DOMNode
- DOMNamedNodeMap
- DOMNodeList
- DOMAttr
- DOMCDataSection
- DOMCharacterData
- DOMComment
- DOMDocumentFragment
- DOMElement
- DOMEntity
- DOMEntityReference
- DOMNotation
- DOMProcessingInstruction
- DOMText
- DOMImplementation
- DOMDocumentType
- DOMDocument