GetSchema method: Document class

Syntax

GetSchema()

Description

Use this method to generate the XML schema definition for the document.

Parameters

None.

Returns

A string containing the XML schema definition.

Example

Local Document &Doc;
Local DocumentKey &DocKey;

&DocKey = CreateDocumentKey("Purchasing", "PurchaseOrder", "v1");
&Doc = CreateDocument(&DocKey);
&str = &Doc.GetSchema();