Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new window

For information on migrating to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

SchemaSpec

Specifies the XML schema against which this XData block can be validated.

Usage

To specify an XML schema against which this XData block can be validated, use syntax like the following:

XData name [ SchemaSpec = "schemanamespaceURL schemaURL" ]
{
}

Where:

  • schemanamespaceURL is the URI of the namespace to which the schema belongs

  • schemaURL is the URL of the schema document

Note that there is a space character between these items. Also note the use of double quotes.

Details

This keyword specifies the XML schema against which this XData block can be validated.

Default

If you omit this keyword, the XData block does not provide an XML schema you can use to validate its contents.

Example

XData MyXData [ SchemaSpec = "http:///www.person.com http://www.MyCompany.com/schemas/person.xsd" ]
{
}
Copy code to clipboard

See Also

FeedbackOpens in a new window