All Packages Previous Next
The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term "document" is used in the broad sense - increasingly, XML is being used as a way of representing many different kinds of information that may be stored in diverse systems, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data.
With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content. Anything found in an HTML or XML document can be accessed, changed, deleted, or added using the Document Object Model, with a few exceptions - in particular, the DOM interfaces for the XML internal and external subsets have not yet been specified.
One important objective of the W3C specification for the Document Object Model is to provide a standard programming interface that can be used in a wide variety of environments and applications. The DOM is designed to be used with any programming language. Since the DOM standard is object-oriented, for this PLSQL adaptation, some changes had to be made:
to perform appendChild on a DOM Node n, the following PLSQL function is provided:
FUNCTION appendChild(n DOMNode, newChild IN DOMNode)
RETURN DOMNode;
and to perform setAttribute on a DOM Element elem, the following PLSQL procedure is provided:
PROCEDURE setAttribute(elem DOMElement, name IN VARCHAR2,
value IN VARCHAR2);
The implementation of this PLSQL DOM interface followed the DOM standard of
revision REC-DOM-Level-1-19981001. The types and methods described in this
document are made available by the PLSQL package xmldom.
PURPOSE
Checks if the given DOMNode is null
SYNTAX
FUNCTION isNull(n DOMNode) RETURN BOOLEAN;
PARAMETERS
n (IN)- DOMNode to check
RETURNS
Whether given DOMNode is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMNode to a DOMAttr
SYNTAX
FUNCTION makeAttr(n DOMNode) RETURN DOMAttr;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMAttrPURPOSE
Casts given DOMNode to a DOMCDataSection
SYNTAX
FUNCTION makeCDataSection(n DOMNode) RETURN DOMCDataSection;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMCDataSectionPURPOSE
Casts given DOMNode to a DOMCharacterData
SYNTAX
FUNCTION makeCharacterData(n DOMNode) RETURN DOMCharacterData;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMCharacterDataPURPOSE
Casts given DOMNode to a DOMComment
SYNTAX
FUNCTION makeComment(n DOMNode) RETURN DOMComment;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMCommentPURPOSE
Casts given DOMNode to a DOMDocumentFragment
SYNTAX
FUNCTION makeDocumentFragment(n DOMNode) RETURN DOMDocumentFragment;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMDocumentFragmentPURPOSE
Casts given DOMNode to a DOMDocumentType
SYNTAX
FUNCTION makeDocumentType(n DOMNode) RETURN DOMDocumentType;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMDocumentTypePURPOSE
Casts given DOMNode to a DOMElement
SYNTAX
FUNCTION makeElement(n DOMNode) RETURN DOMElement;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMElementPURPOSE
Casts given DOMNode to a DOMEntity
SYNTAX
FUNCTION makeEntity(n DOMNode) RETURN DOMEntity;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMEntityPURPOSE
Casts given DOMNode to a DOMEntityReference
SYNTAX
FUNCTION makeEntityReference(n DOMNode) RETURN DOMEntityReference;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMEntityReferencePURPOSE
Casts given DOMNode to a DOMNotation
SYNTAX
FUNCTION makeNotation(n DOMNode) RETURN DOMNotation;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMNotationPURPOSE
Casts given DOMNode to a DOMProcessingInstruction
SYNTAX
FUNCTION makeProcessingInstruction(n DOMNode) RETURN DOMProcessingInstruction;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMProcessingInstructionPURPOSE
Casts given DOMNode to a DOMText
SYNTAX
FUNCTION makeText(n DOMNode) RETURN DOMText;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMTextPURPOSE
Casts given DOMNode to a DOMDocument
SYNTAX
FUNCTION makeDocument(n DOMNode) RETURN DOMDocument;
PARAMETERS
n (IN)- DOMNode to cast
RETURNS
The DOMDocumentPURPOSE
Writes XML node to specified file using the database character set
SYNTAX
PROCEDURE writeToFile(n DOMNode, fileName VARCHAR2);
PARAMETERS
n (IN)- DOMNode fileName (IN)- File to write to
RETURNS
Nothing.PURPOSE
Writes XML node to specified buffer using the database character set
SYNTAX
PROCEDURE writeToBuffer(n DOMNode, buffer IN OUT VARCHAR2);
PARAMETERS
n (IN)- DOMNode buffer (OUT)- buffer to write to
RETURNS
Nothing.PURPOSE
Writes XML node to specified clob using the database character set
SYNTAX
PROCEDURE writeToClob(n DOMNode, cl IN OUT CLOB);
PARAMETERS
n (IN)- DOMNode cl (OUT)- CLOB to write to
RETURNS
Nothing.PURPOSE
Writes XML node to specified file using the given character set
SYNTAX
PROCEDURE writeToFile(n DOMNode, fileName VARCHAR2, charset VARCHAR2);
PARAMETERS
n (IN)- DOMNode fileName (IN)- File to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes XML node to specified buffer using the given character set
SYNTAX
PROCEDURE writeToBuffer(n DOMNode, buffer IN OUT VARCHAR2, charset VARCHAR2);
PARAMETERS
n (IN)- DOMNode buffer (OUT)- buffer to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes XML node to specified clob using the given character set
SYNTAX
PROCEDURE writeToClob(n DOMNode, cl IN OUT CLOB, charset VARCHAR2);
PARAMETERS
n (IN)- DOMNode cl (OUT)- CLOB to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Checks if the given DOM NamedNodeMap is null
SYNTAX
FUNCTION isNull(nnm DOMNamedNodeMap) RETURN BOOLEAN;
PARAMETERS
nnm (IN)- DOMNamedNodeMap to check
RETURNS
Whether given DOM NamedNodeMap is null: TRUE - is null, FALSE - is not nullPURPOSE
Checks if the given DOM NodeList is null
SYNTAX
FUNCTION isNull(nl DOMNodeList) RETURN BOOLEAN;
PARAMETERS
nl (IN)- DOMNodeList to check
RETURNS
Whether given DOM NodeList is null: TRUE - is null, FALSE - is not nullPURPOSE
Checks if the given DOM Attr is null
SYNTAX
FUNCTION isNull(a DOMAttr) RETURN BOOLEAN;
PARAMETERS
a (IN)- DOMAttr to check
RETURNS
Whether given DOM Attr is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMAttr to a DOMNode
SYNTAX
FUNCTION makeNode(a DOMAttr) RETURN DOMNode;
PARAMETERS
a (IN)- DOMNode to cast
RETURNS
The DOMNodePURPOSE
Returns the qualified name of the DOMAttr
SYNTAX
FUNCTION getQualifiedName(a DOMAttr) RETURN VARCHAR2;
PARAMETERS
a (IN)- DOMAttr
RETURNS
The qualified namePURPOSE
Returns the namespace of the DOMAttr
SYNTAX
FUNCTION getNamespace(a DOMAttr) RETURN VARCHAR2;
PARAMETERS
a (IN)- DOMAttr
RETURNS
The namespacePURPOSE
Returns the local name of the DOMAttr
SYNTAX
FUNCTION getLocalName(a DOMAttr) RETURN VARCHAR2;
PARAMETERS
a (IN)- DOMAttr
RETURNS
The local namePURPOSE
Returns the expanded name of the DOMAttr
SYNTAX
FUNCTION getExpandedName(a DOMAttr) RETURN VARCHAR2;
PARAMETERS
a (IN)- DOMAttr
RETURNS
The expanded namePURPOSE
Checks if the given DOM CDataSection is null
SYNTAX
FUNCTION isNull(cds DOMCDataSection) RETURN BOOLEAN;
PARAMETERS
cds (IN)- DOMCDataSection to check
RETURNS
Whether given DOM CDataSection is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMCDataSection to a DOMNode
SYNTAX
FUNCTION makeNode(cds DOMCDataSection) RETURN DOMNode;
PARAMETERS
cds (IN)- DOMCDataSection to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM CharacterData is null
SYNTAX
FUNCTION isNull(cd DOMCharacterData) RETURN BOOLEAN;
PARAMETERS
cd (IN)- DOMCharacterData to check
RETURNS
Whether given DOM CharacterData is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMCharacterData to a DOMNode
SYNTAX
FUNCTION makeNode(cd DOMCharacterData) RETURN DOMNode;
PARAMETERS
cd (IN)- DOMCharacterData to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM Comment is null
SYNTAX
FUNCTION isNull(com DOMComment) RETURN BOOLEAN;
PARAMETERS
com (IN)- DOMComment to check
RETURNS
Whether given DOM Comment is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMComment to a DOMNode
SYNTAX
FUNCTION makeNode(com DOMComment) RETURN DOMNode;
PARAMETERS
com (IN)- DOMComment to ast
RETURNS
The DOMCommentPURPOSE
Checks if the given DOM Implementation is null
SYNTAX
FUNCTION isNull(di DOMImplementation) RETURN BOOLEAN;
PARAMETERS
di (IN)- DOMImplementation to check
RETURNS
Whether given DOM Implementation is null: TRUE - is null, FALSE - is not nullPURPOSE
Checks if the given DOM DocumentFragment is null
SYNTAX
FUNCTION isNull(df DOMDocumentFragment) RETURN BOOLEAN;
PARAMETERS
df (IN)- DOMDocumentFragment to check
RETURNS
Whether given DOM DocumentFragment is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMDocumentFragment to a DOMNode
SYNTAX
FUNCTION makeNode(df DOMDocumentFragment) RETURN DOMNode;
PARAMETERS
df (IN)- DOMDocumentFragment to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM DocumentType is null
SYNTAX
FUNCTION isNull(dt DOMDocumentType) RETURN BOOLEAN;
PARAMETERS
dt (IN)- DOMDocumentType to check
RETURNS
Whether given DOM DocumentType is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMDocumentType to a DOMNode
SYNTAX
FUNCTION makeNode(dt DOMDocumentType) RETURN DOMNode;
PARAMETERS
dt (IN)- DOMDocumentType to cast
RETURNS
The DOMNodePURPOSE
Finds an entity in the given DTD
SYNTAX
FUNCTION findEntity(dt DOMDocumentType, name VARCHAR2, par BOOLEAN) RETURN DOMEntity;
PARAMETERS
dt (IN)- DTD name (IN)- entity to find par (IN)- TRUE - parameter entity, FALSE - normal entity
RETURNS
The DOMEntity, if found.PURPOSE
Finds a notation in the given DTD
SYNTAX
FUNCTION findNotation(dt DOMDocumentType, name VARCHAR2) RETURN DOMNotation;
PARAMETERS
dt (IN)- DTD name (IN)- notation to find
RETURNS
The DOMNotation, if found.PURPOSE
Return the public id of the given DTD
SYNTAX
FUNCTION getPublicId(dt DOMDocumentType) RETURN VARCHAR2;
PARAMETERS
dt (IN)- DTD
RETURNS
The public idPURPOSE
Return the system id of the given DTD
SYNTAX
FUNCTION getSystemId(dt DOMDocumentType) RETURN VARCHAR2;
PARAMETERS
dt (IN)- DTD
RETURNS
The system idPURPOSE
Writes DTD to specified file using the database character set
SYNTAX
PROCEDURE writeExternalDTDToFile(dt DOMDocumentType, fileName VARCHAR2);
PARAMETERS
dt (IN)- DOMDocumentType fileName (IN)- File to write to
RETURNS
Nothing.PURPOSE
Writes DTD to specified buffer using the database character set
SYNTAX
PROCEDURE writeExternalDTDToBuffer(dt DOMDocumentType, buffer IN OUT VARCHAR2);
PARAMETERS
dt (IN)- DOMDocumentType buffer (OUT)- buffer to write to
RETURNS
Nothing.PURPOSE
Writes DTD to specified clob using the database character set
SYNTAX
PROCEDURE writeExternalDTDToClob(dt DOMDocumentType, cl IN OUT CLOB);
PARAMETERS
dt (IN)- DOMDocumentType cl (OUT)- CLOB to write to
RETURNS
Nothing.PURPOSE
Writes DTD to specified file using the given character set
SYNTAX
PROCEDURE writeExternalDTDToFile(dt DOMDocumentType, fileName VARCHAR2, charset VARCHAR2);
PARAMETERS
dt (IN)- DOMDocumentType fileName (IN)- File to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes DTD to specified buffer using the given character set
SYNTAX
PROCEDURE writeExternalDTDToBuffer(dt DOMDocumentType, buffer IN OUT VARCHAR2, charset VARCHAR2);
PARAMETERS
dt (IN)- DOMDocumentType buffer (OUT)- buffer to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes DTD to specified clob using the given character set
SYNTAX
PROCEDURE writeExternalDTDToClob(dt DOMDocumentType, cl IN OUT CLOB, charset VARCHAR2);
PARAMETERS
dt (IN)- DOMDocumentType cl (OUT)- CLOB to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Checks if the given DOM Element is null
SYNTAX
FUNCTION isNull(elem DOMElement) RETURN BOOLEAN;
PARAMETERS
elem (IN)- DOMElement to check
RETURNS
Whether given DOM Element is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMElement to a DOMNode
SYNTAX
FUNCTION makeNode(elem DOMElement) RETURN DOMNode;
PARAMETERS
elem (IN)- DOMElement to cast
RETURNS
The DOMNodePURPOSE
Returns the qualified name of the DOMElem
SYNTAX
FUNCTION getQualifiedName(elem DOMElement) RETURN VARCHAR2;
PARAMETERS
elem (IN)- DOMElement
RETURNS
The qualified namePURPOSE
Returns the namespace of the DOMElem
SYNTAX
FUNCTION getNamespace(elem DOMElement) RETURN VARCHAR2;
PARAMETERS
elem (IN)- DOMElement
RETURNS
The namespacePURPOSE
Returns the local name of the DOMElem
SYNTAX
FUNCTION getLocalName(elem DOMElement) RETURN VARCHAR2;
PARAMETERS
elem (IN)- DOMElement
RETURNS
The local namePURPOSE
Returns the expanded name of the DOMElem
SYNTAX
FUNCTION getExpandedName(elem DOMElement) RETURN VARCHAR2;
PARAMETERS
elem (IN)- DOMElement
RETURNS
The expanded namePURPOSE
Returns the children of the DOMElem having the given tag name
SYNTAX
FUNCTION getChildrenByTagName(elem DOMElement, name varchar2) RETURN DOMNodeList;
PARAMETERS
elem (IN)- DOMElement name (IN)- tag name (* matches any tag)
RETURNS
Children with the given tag namePURPOSE
Returns the element children of the DOMElem having the given tag name and namespace
SYNTAX
FUNCTION getElementsByTagName(elem DOMElement, name varchar2, ns VARCHAR2 ) RETURN DOMNodeList;
PARAMETERS
elem (IN)- DOMElement name (IN)- tag name (* matches any tag) ns (IN)- namespace
RETURNS
Elements with the given tag name and namespacePURPOSE
Returns the children of the DOMElem having the given tag name and namespace
SYNTAX
FUNCTION getChildrenByTagName(elem DOMElement, name varchar2, ns VARCHAR2 ) RETURN DOMNodeList;
PARAMETERS
elem (IN)- DOMElement name (IN)- tag name (* matches any tag) ns (IN)- namespace
RETURNS
Children with the given tag name and namespacePURPOSE
Resolves the given namespace prefix
SYNTAX
FUNCTION resolveNamespacePrefix(elem DOMElement, prefix VARCHAR2) RETURN VARCHAR2;
PARAMETERS
elem (IN)- DOMElement prefix (IN)- namespace prefix
RETURNS
The resolved namespacePURPOSE
Checks if the given DOM Entity is null
SYNTAX
FUNCTION isNull(ent DOMEntity) RETURN BOOLEAN;
PARAMETERS
ent (IN)- DOMEntity to check
RETURNS
Whether given DOM Entity is null: TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMEntity to a DOMNode
SYNTAX
FUNCTION makeNode(ent DOMEntity) RETURN DOMNode;
PARAMETERS
ent (IN)- DOMEntity to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM EntityReference is null
SYNTAX
FUNCTION isNull(eref DOMEntityReference) RETURN BOOLEAN;
PARAMETERS
eref (IN)- DOMEntityReference to check
RETURNS
Whether given DOM EntityReference is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMEntityReference to a DOMNode
SYNTAX
FUNCTION makeNode(eref DOMEntityReference) RETURN DOMNode;
PARAMETERS
eref (IN)- DOMEntityReference to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM Notation is null
SYNTAX
FUNCTION isNull(n DOMNotation) RETURN BOOLEAN;
PARAMETERS
n (IN)- DOMNotation to check
RETURNS
Whether given DOM Notation is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMNotation to a DOMNode
SYNTAX
FUNCTION makeNode(n DOMNotation) RETURN DOMNode;
PARAMETERS
n (IN)- DOMNotation to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOM ProcessingInstruction is null
SYNTAX
FUNCTION isNull(pi DOMProcessingInstruction) RETURN BOOLEAN;
PARAMETERS
pi (IN)- DOMProcessingInstruction to check
RETURNS
Whether given DOM ProcessingInstruction is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMProcessingInstruction to a DOMNode
SYNTAX
FUNCTION makeNode(pi DOMProcessingInstruction) RETURN DOMNode;
PARAMETERS
pi (IN)- DOMProcessingInstruction to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOMText is null
SYNTAX
FUNCTION isNull(t DOMText) RETURN BOOLEAN;
PARAMETERS
t (IN)- DOMText to check
RETURNS
Whether given DOMText is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMText to a DOMNode
SYNTAX
FUNCTION makeNode(t DOMText) RETURN DOMNode;
PARAMETERS
t (IN)- DOMText to cast
RETURNS
The DOMNodePURPOSE
Checks if the given DOMDocument is null
SYNTAX
FUNCTION isNull(doc DOMDocument) RETURN BOOLEAN;
PARAMETERS
doc (IN)- DOMDocument to check
RETURNS
Whether given DOMDocument is null : TRUE - is null, FALSE - is not nullPURPOSE
Casts given DOMDocument to a DOMNode
SYNTAX
FUNCTION makeNode(doc DOMDocument) RETURN DOMNode;
PARAMETERS
doc (IN)- DOMDocument to cast
RETURNS
The DOMNodePURPOSE
Returns a new DOM Document instance
SYNTAX
FUNCTION newDOMDocument RETURN DOMDocument;
PARAMETERS
NoneRETURNS
A new DOMDocument instancePURPOSE
Frees Document object
SYNTAX
PROCEDURE freeDocument(doc DOMDocument)
PARAMETERS
doc (IN)- DOMDocument
PURPOSE
Gets version information for the XML document
SYNTAX
FUNCTION getVersion(doc DOMDocument) RETURN VARCHAR2;
PARAMETERS
doc (IN)- DOMDocument
RETURNS
Version informationPURPOSE
Sets version information for the XML document
SYNTAX
PROCEDURE setVersion(doc DOMDocument, version VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument version (IN)- version information
RETURNS
Nothing.PURPOSE
Gets character set of the XML document
SYNTAX
FUNCTION getCharset(doc DOMDocument) RETURN VARCHAR2;
PARAMETERS
doc (IN)- DOMDocument
RETURNS
Character set of the XML documentPURPOSE
Sets character set of the XML document
SYNTAX
PROCEDURE setCharset(doc DOMDocument, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Gets standalone information for the XML document
SYNTAX
FUNCTION getStandalone(doc DOMDocument) RETURN VARCHAR2;
PARAMETERS
doc (IN)- DOMDocument
RETURNS
Standalone informationPURPOSE
Sets standalone information for the XML document
SYNTAX
PROCEDURE setStandalone(doc DOMDocument, value VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument value (IN)- standalone information
RETURNS
Nothing.PURPOSE
Writes XML document to specified file using the database character set
SYNTAX
PROCEDURE writeToFile(doc DOMDocument, fileName VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument fileName (IN)- File to write to
RETURNS
Nothing.PURPOSE
Writes XML document to specified buffer using the database character set
SYNTAX
PROCEDURE writeToBuffer(doc DOMDocument, buffer IN OUT VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument buffer (OUT)- buffer to write to
RETURNS
Nothing.PURPOSE
Writes XML document to specified clob using the database character set
SYNTAX
PROCEDURE writeToClob(doc DOMDocument, cl IN OUT CLOB);
PARAMETERS
doc (IN)- DOMDocument cl (OUT)- CLOB to write to
RETURNS
Nothing.PURPOSE
Writes XML document to specified file using the given character set
SYNTAX
PROCEDURE writeToFile(doc DOMDocument, fileName VARCHAR2, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument fileName (IN)- File to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes XML document to specified buffer using the given character set
SYNTAX
PROCEDURE writeToBuffer(doc DOMDocument, buffer IN OUT VARCHAR2, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument buffer (OUT)- buffer to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes XML document to specified clob using the given character set
SYNTAX
PROCEDURE writeToClob(doc DOMDocument, cl IN OUT CLOB, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument cl (OUT)- CLOB to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified file using the database character set
SYNTAX
PROCEDURE writeExternalDTDToFile(doc DOMDocument, fileName VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument fileName (IN)- File to write to
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified buffer using the database character set
SYNTAX
PROCEDURE writeExternalDTDToBuffer(doc DOMDocument, buffer IN OUT VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument buffer (OUT)- buffer to write to
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified clob using the database character set
SYNTAX
PROCEDURE writeExternalDTDToClob(doc DOMDocument, cl IN OUT CLOB);
PARAMETERS
doc (IN)- DOMDocument cl (OUT)- CLOB to write to
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified file using the given character set
SYNTAX
PROCEDURE writeExternalDTDToFile(doc DOMDocument, fileName VARCHAR2, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument fileName (IN)- File to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified buffer using the given character set
SYNTAX
PROCEDURE writeExternalDTDToBuffer(doc DOMDocument, buffer IN OUT VARCHAR2, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument buffer (OUT)- buffer to write to charset (IN)- Character set
RETURNS
Nothing.PURPOSE
Writes an external DTD to specified clob using the given character set
SYNTAX
PROCEDURE writeExternalDTDToClob(doc DOMDocument, cl IN OUT CLOB, charset VARCHAR2);
PARAMETERS
doc (IN)- DOMDocument cl (OUT)- CLOB to write to charset (IN)- Character set
RETURNS
Nothing.