Oracle8i Application Developer's Guide - XML
Release 3 (8.1.7)

Part Number A86030-01

Library

Solution Area

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

XDK for PL/SQL: Specifications and Cheat Sheets , 4 of 7


XML Parser for PL/SQL: Parser() API

Table F-1 lists the XML Parser for PL/SQL Parser() API functions.

Table F-1 XML Parser for PL/SQL: Parser() API
Parser() Functions  Description 

parse(VARCHAR2) 

Parses xml stored in the given url/file and returns the built DOM Document  

newParser 

Returns a new parser instance  

parse(Parser, VARCHAR2) 

Parses xml stored in the given url/file  

parseBuffer(Parser, VARCHAR2) 

Parses xml stored in the given buffer  

parseClob(Parser, CLOB) 

Parses xml stored in the given clob  

parseDTD(Parser, VARCHAR2, VARCHAR2) 

Parses xml stored in the given url/file  

parseDTDBuffer(Parser, VARCHAR2, VARCHAR2) 

Parses xml stored in the given buffer 

parseDTDClob(Parser, CLOB, VARCHAR2) 

Parses xml stored in the given clob  

setBaseDir(Parser, VARCHAR2) 

Sets base directory used to resolve relative urls  

showWarnings(Parser, BOOLEAN) 

Turn warnings on or off  

setErrorLog(Parser, VARCHAR2) 

Sets errors to be sent to the specified file  

setPreserveWhitespace(Parser, BOOLEAN) 

Sets white space preserve mode  

setValidationMode(Parser, BOOLEAN) 

Sets validation mode  

getValidationMode(Parser) 

Gets validation mode  

setDoctype(Parser, DOMDocumentType) 

Sets DTD  

getDoctype(Parser) 

Gets DTD  

getDocument(Parser) 

Gets DOM document  

freeParser(Parser) 

Frees a Parser object  


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Solution Area

Contents

Index