Top

Name

XMLType.getSchemaURL — Returns the URL of the XML schema definition for schema based instances, NULL for non-schema based.

Synopsis

XMLType.getSchemaURL ( );
 

Description

The function returns the URL of the XML Types associate XML schema. This applies only to schema based instances. It will return NULL for non-schema based types.

Return Types

The function returns string.

Examples

Example 24.553. Simple test

The call of XMLType constructor creates an schema-based instance and getSchemaURL() returns the specified URL

select XMLType('<sample />', 'file://xmlschema/test0001/clean.xsd').getSchemaURL()
callret
VARCHAR
_______________________________________________________________________________

file://xmlschema/test0001/clean.xsd

1 Rows. -- 00000 msec.