oracle-databasedomdocumentxmldom

Data assignment error for dbms_xmldom.domdocument


I'm trying the example in the link below

http://www.dba-oracle.com/t_packages_dbms_xmldom_xmlparser.htm

but I get errors on this line

v_doc := dbms_xmldom.cument(v_variable);

how can I solve this problem

ORA-06550: satır 31, sütun 25: PLS-00302: component 'CUMENT' must be declared ORA-06550: satır 31, sütun 3: PL/SQL: Statement ignored


Solution

  • @Alex Poole is correct.

    It is not CUMENT. It is NEWDOMDOCUMENT

    Try with this: V_DOC := DBMS_XMLDOM.NEWDOMDOCUMENT(V_VARIABLE);

    Thanks