ADD-SCHEMA-LOCATION( ) methodAn 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:
Applies to:
ADD-SCHEMA-LOCATION ( targetNamespace, location )A CHARACTER expression evaluating to the target namespace of the schema, or an empty string ("") or the Unknown value (?) if the location doesn’t contain a namespace.Provides the location of an XML Schema file for the parser by specifying the namespace and physical location of the XML Schema file.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.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |