GETNODENAME v18
The GETNODENAME function provides the name of the node or a placeholder value that reflects the node type.
GETNODENAME(n DOMNODE) RETURN VARCHAR2
Parameters
n
DOMNode value you want to obtain.
Examples
This example creates a DOMDocument named l_domdoc and a DOMElement named elem with the tag name Departments. It then outputs the tag name.
DECLARE l_domdoc DBMS_XMLDOM.DOMDocument; l_department_element DBMS_XMLDOM.DOMElement; BEGIN l_domdoc := DBMS_XMLDOM.NEWDOMDOCUMENT; l_department_element := DBMS_XMLDOM.CREATEELEMENT(l_domdoc, 'Departments' ); dbms_output.put_line(DBMS_XMLDOM.GETNODENAME(DBMS_XMLDOM.MAKENODE(l_department_element))); END;
- On this page
- Parameters
- Examples