Calls

FUNCTION DBMS_XMLPARSER.parse (url IN VARCHAR2) RETURN DOMDocument; PROCEDURE DBMS_XMLPARSER.parse (p IN PARSER, url IN VARCHAR2);

The function uses the default parser behavior on url and returns the XML document. The procedure uses parser p on url.

FUNCTION DBMS_XMLPARSER.newParser RETURN Parser;

Returns a new parser instance. Must be called before the behavior of the parser is changed or other parser methods need to be used.

PROCEDURE DBMS_XMLPARSER.parseBuffer (p IN Parser, doc IN VARCHAR2);

Parses doc with p.

PROCEDURE DBMS_XMLPARSER.parseClob (p IN Parser, doc IN CLOB);

Parses doc with p.

PROCEDURE DBMS_XMLPARSER.parseDTD (p IN Parser, url IN VARCHAR2, root IN VARCHAR2);

Parses url with root element root p.

PROCEDURE DBMS_XMLPARSER.parseDTDBuffer (p IN Parser, dtd IN VARCHAR2, root IN VARCHAR2);

Parses dtd with root element root p.

PROCEDURE DBMS_XMLPARSER.parseDTDClob (p IN Parser, dtd IN CLB, root IN VARCHAR2);

Parses dtd with root element root p.

PROCEDURE DBMS_XMLPARSER.setBaseDir (p IN Parser, dir IN VARCHAR2);

Sets root directory dir for p.

PROCEDURE DBMS_XMLPARSER.showWarnings (p IN Parser, yes IN BOOLEAN);

Sets whether warnings are shown for p.

PROCEDURE DBMS_XMLPARSER.setErrorLog (p IN Parser, fileName IN BOOLEAN);

Sets error log to fileName for p.

PROCEDURE DBMS_XMLPARSER.setPreserveWhitespace (p IN Parser, yes IN BOOLEAN);

Sets whether whitespace is preserved for p.

PROCEDURE DBMS_XMLPARSER.setValidationMode (p IN Parser, yes IN BOOLEAN);

Sets validation ...

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.