PLSQL DOM API for XMLType DBMSXMLDOM
Table F-2 lists the PL/SQL DOM API for XMLType (DBMS_XMLDOM) functions and procedures. These are grouped according to the W3C DOM Recommendation.
See Also: Chapter 8, "PL/SQL API for XMLType"
Table F-2 DBMS XMLDOM Functions and Procedures
Functions and Procedures
Description
DOM Node isNullO makeAttr()
makeCDataSection() makeCharacterData() makeComment() makeDocumentFragment()
Implements the DOM Node interface.
Tests if the node is NULL.
Casts the node to an Attribute.
Casts the node to a CDataSection.
Casts the node to CharacterData.
Casts the node to a Comment.
Casts the node to a DocumentFragment.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
Functions and Procedures
Description makeDocumentType()
makeElement()
makeEntity()
makeEntityReference()
makeNotation()
makeProcessingInstruction()
makeText()
makeDocument()
writeToFile()
writeToBuffer()
writeToClob()
getNodeName()
getNodeValue()
setNodeValue()
getNodeType()
getParentNode()
getChildNodes()
getFirstChild()
getLastChild()
getPreviousSibling()
getNextSibling()
getAttributes()
getOwnerDocument()
insertBefore()
replaceChild()
removeChild()
appendChild()
Casts the node to a Document Type.
Casts the node to an Element.
Casts the node to an Entity.
Casts the node to an EntityReference.
Casts the node to a Notation.
Casts the node to a DOMProcessingInstruction.
Casts the node to a DOMText.
Casts the node to a DOMDocument.
Writes the contents of the node to a file.
Writes the contents of the node to a buffer.
Writes the contents of the node to a clob.
Retrieves the Name of the node.
Retrieves the Value of the node.
Sets the Value of the node.
Retrieves the Type of the node.
Retrieves the parent of the node.
Retrieves the children of the node.
Retrieves the first child of the node.
Retrieves the last child of the node.
Retrieves the previous sibling of the node.
Retrieves the next sibling of the node.
Retrieves the attributes of the node.
Retrieves the owner document of the node.
Inserts a child before the reference child.
Replaces the old child with a new child.
Removes a specified child from a node.
Appends a new child to the node.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
Functions and Procedures
Description hasChildNodes() cloneNode()
DOM Named Node Map isNull()
getNamedItem() setNamedItem() removeNamedItem() item()
getLength() DOM Node List isNull() item()
getLength() DOM Attr isNull()
makeNode()
getQualifiedName()
getNamespace()
getLocalName()
getExpandedName()
getName()
getSpecified()
getValue() setValue()
DOM CData Section isNull() makeNode()
Tests if the node has child nodes. Clones the node.
Implements the DOM NamedNodeMap interface.
Tests if the NamedNodeMap is NULL.
Retrieves the item specified by the name.
Sets the item in the map specified by the name.
Removes the item specified by name.
Retrieves the item given the index in the map.
Retrieves the number of items in the map.
Implements the DOM NodeList interface.
Tests if the Nodelist is NULL.
Retrieves the item given the index in the nodelist.
Retrieves the number of items in the list.
Implements the DOM Attribute interface.
Tests if the Attribute Node is NULL.
Casts the Attribute to a node.
Retrieves the Qualified Name of the attribute.
Retrieves the NS URI of the attribute.
Retrieves the local name of the attribute.
Retrieves the expanded name of the attribute.
Retrieves the name of the attribute.
Tests if attribute was specified in the owning element.
Retrieves the value of the attribute.
Sets the value of the attribute.
Implements the DOM CDataSection interface.
Tests if the CDataSection is NULL. Casts the CDatasection to a node.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
Functions and Procedures
Description
DOM Character Data isNull()
makeNode()
getData()
setData()
getLength()
substringData()
appendData()
insertData()
deleteDataO
replaceData()
DOM Comment isNull()
makeNode()
DOM Implementation isNull() hasFeature()
DOM Document Fragment isNull()
makeNode()
DOM Document Type isNull() makeNode() findEntity() findNotation()
Implements the DOM Character Data interface.
Tests if the CharacterData is NULL.
Casts the CharacterData to a node.
Retrieves the data of the node.
Sets the data to the node.
Retrieves the length of the data.
Retrieves the substring of the data.
Appends the given data to the node data.
Inserts the data in the node at the given offSets.
Deletes the data from the given offSets.
Replaces the data from the given offSets.
Implements the DOM Comment interface.
Tests if the comment is NULL.
Casts the Comment to a node.
Implements the DOM DOMImplementation interface.
Tests if the DOMImplementation node is NULL.
Tests if the DOMImplementation implements a given feature.
Implements the DOM DocumentFragment interface.
Tests if the DocumentFragment is NULL. Casts the DocumentFragment to a node. Implements the DOM Document Type interface.
Tests if the document type is NULL.
Casts the document type to a node.
Finds the specified entity in the document type.
Finds the specified notation in the document type.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
Functions and Procedures
Description getPublicIdO
getSystemId()
writeExternalDTDToFileO
writeExternalDTDToBufferO
writeExternalDTDToClob()
getName()
getEntities()
getNotations()
DOM Element isNull()
makeNode()
getQualifiedName()
getNamespace()
getLocalName()
getExpandedName()
getChildrenByTagName()
getElementsByTagName()
resolveNamespacePrefix()
getTagName()
getAttribute()
setAttribute()
removeAttribute()
getAttributeNode()
setAttributeNode()
removeAttributeNode()
normalize()
Retrieves the public ID of the document type. Retrieves the system ID of the document type. Writes the document type definition to a file. Writes the document type definition to a buffer. Writes the document type definition to a CLOB. Retrieves the name of the Document type. Retrieves the nodemap of entities in the Document type.
Retrieves the nodemap of the notations in the Document type.
Implements the DOM Element interface.
Tests if the Element is NULL. Casts the Element to a node. Retrieves the qualified name of the element. Retrieves the NS URI of the element. Retrieves the local name of the element. Retrieves the expanded name of the element. Retrieves the children of the element by tag name. Retrieves the elements in the subtree by tagname. Resolve the prefix to a namespace uri. Retrieves the Tag name of the element. Retrieves the attribute node specified by the name. Sets the attribute specified by the name. Removes the attribute specified by the name. Retrieves the attribute node specified by the name. Sets the attribute node in the element. Removes the attribute node in the element. Normalizes the text children of the element.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
Functions and Procedures
Description
DOM Entity isNull()
makeNode()
getPublicId()
getSystemId()
getNotationName()
DOM Entity Reference isNull()
makeNode()
DOM Notation isNull()
makeNode()
getPublicId()
getSystemId()
DOM Processing Instruction isNull()
makeNode()
getData()
getTarget()
setData()
DOM Text isNull()
makeNode()
splitText()
DOM Document isNull()
Implements the DOM Entity interface.
Tests if the Entity is NULL.
Casts the Entity to a node.
Retrieves the public Id of the entity.
Retrieves the system Id of the entity.
Retrieves the notation name of the entity.
Implements the DOM EntityReference interface.
Tests if the Entity Reference is NULL.
Casts the Entity Reference to NULL.
Implements the DOM Notation interface.
Tests if the Notation is NULL.
Casts the notation to a node.
Retrieves the public Id of the notation.
Retrieves the system Id of the notation.
Implements the DOM Processing instruction interface.
Tests if the Processing Instruction is NULL. Casts the Processing Instruction to a node. Retrieves the data of the processing instruction. Retrieves the target of the processing instruction. Sets the data of the processing instruction. Implements the DOM Text interface. Tests if the text is NULL. Casts the text to a node.
Splits the contents of the text node into 2 text nodes. Implements the DOM Document interface.
Tests if the document is NULL.
Table F-2 DBMS_XMLDOM Functions and Procedures (Cont.)
|
makeNode() |
Casts the document to a node. |
|
newDOMDocument() |
Creates a new Document. |
|
freeDocument() |
Frees the document. |
|
getVersion() |
Retrieves the version of the document. |
|
setVersion() |
Sets the version of the document. |
|
getCharset() |
Retrieves the Character set of the document. |
|
setCharset() |
Sets the Character set of the document. |
|
getStandalone() |
Retrieves if the document is specified as standalone. |
|
setStandalone() |
Sets the document standalone. |
|
writeToFile() |
Writes the document to a file. |
|
writeToBuffer() |
Writes the document to a buffer. |
|
writeToClob() |
Writes the document to a CLOB.. |
|
writeExternalDTDToFileO |
Writes the DTD of the document to a file. |
|
writeExternalDTDToBuffer() |
Writes the DTD of the document to a buffer. |
|
writeExternalDTDToClob() |
Writes the DTD of the document to a CLOB.. |
|
getDoctype() |
Retrieves the DTD of the document. |
|
getImplementation() |
Retrieves the DOM implementation. |
|
getDocumentElement() |
Retrieves the root element of the document. |
|
createElement() |
Creates a new Element. |
|
createDocumentFragment() |
Creates a new Document Fragment. |
|
createTextNode() |
Creates a Text node. |
|
createComment() |
Creates a Comment node. |
|
createCDATASection() |
Creates a CDatasection node. |
|
createProcessingInstruction() |
Creates a Processing Instruction. |
|
createAttribute() |
Creates an Attribute. |
|
createEntityReference() |
Creates an Entity reference. |
|
getElementsByTagName() |
Retrieves the elements in the by tag name. |
Post a comment