SCHEMA-LOCATION attribute
Determines the list of namespace/location pairs of an XML Schema file to validate against.
Data type: CHARACTER
Access: Readable/Writable
Applies to: X-document object handle, SAX-reader object handle
Contains the XML Schema file namespace/location pairs list for the object that the parser is using to validate against. The value pairs are separated by white space.
The default is an empty string ("").
The syntax for the list is the same as the attribute
schemaLocation
in an XML document. The first member of each pair is the namespace and the second member is the location where to find to an appropriate XML Schema file. The list is written as pairs of target namespace and locations where each value is separated by white space, using the following format:
Here is an example of this method call:
Note that namespace and XML Schema file locations specified programatically with this method take precedence over namespaces or schemas declared in XML documents or imported elements.
To clear the schema location list set SCHEMA-LOCATION to an empty string ("").
The previous example could also be achieved using the ADD-SCHEMA-LOCATION( ) method twice:
OpenEdge Release 10.2B
|