ADD-SCHEMA-LOCATION( ) method
An XML Schema file location is specified by providing a pair of values: a namespace and a physical location. This method allows you to specify that value pair. The XML Schema file is used by an X-document or SAX-reader object to validate XML content.
Return type: LOGICAL
Applies to: X-document object handle, SAX-reader object handle
targetNamespace
location
Provides the location of an XML Schema file for the parser by specifying the namespace and physical location of the XML Schema file.
You can call this method more than once to create a list of schema locations.
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.
This method and the SCHEMA-LOCATION attribute are both used for setting the XML Schema file location. This method is added for convenience.
OpenEdge Release 10.2B
|