ODAC

TOraXML Class

A class representing a value of the Oracle SYS.XMLTYPE type.

For a list of all members of this type, see TOraXML members.

Unit

OraObjects

Syntax

TOraXML = class(TOraObject);

Remarks

TOraXML represents a value of Oracle SYS.XMLTYPE type. Use TOraXML.AllocObject method to create an object. Use TOraXML.AsString and TOraXML.LoadFromStream to initialize XML value. You can get TOraXML object by TOraXMLField.AsXML method after fetching rows contained XMLTYPE field. Also you can get it by TOraParam.AsXML method. To manipulate obtained XML document use TOraXML.Extract, TOraXML.Exists, and TOraXML.Transform functions.

Example

var
   XMLDoc : TOraXML;
begin
   XMLDoc := TOraXML.Create();
   XMLDoc.OCISvcCtx := OraSession1.OCISvcCtx;
   XMLDoc.AsString := '<root><node1>value</node1></root>';
... 

Inheritance Hierarchy

TSharedObject
   TDBObject
      TOraObject
         TOraXML

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback