Skip to content

From_Xml

Deserialize an XML document to a record.

FUNCTION From_Xml (  
   doc_       IN xmltype ) RETURN type_record_  

FUNCTION From_Xml (  
   doc_       IN VARCHAR2,  
   root_name_ IN VARCHAR2 DEFAULT NULL ) RETURN type_record_  

FUNCTION From_Xml (  
   doc_       IN CLOB,  
   root_name_ IN VARCHAR2 DEFAULT NULL ) RETURN type_record_  

Parameters

doc_
    An XML document.

root_name_
    Root element name for validation. If not null and doesn't match the document, an exception will be thrown.

Return value

A record.