ODAC

TOraXML.Validate Method

Checks if the input instance conforms to a specified XML schema.

Class

TOraXML

Syntax

function Validate(const SchemaURL: string): boolean;

Parameters
SchemaURL
Holds the URL of the XML Schema against which to check the conformance.
Return Value
True, if the input instance conforms to a specified XML schema. False otherwise.

Remarks

Call the Validate method to check if the input instance conforms to a specified XML schema. SchemaURL parameter is the URL of the XML Schema against which to check the conformance.

Example

Result := TOraXMLField(FieldByName('XMLField')).AsXML.Validate('http://www.oracle.com/PO.xsd'); 

See Also

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