MarkLogic 10 Product Documentation
sc:schema-from-path

sc:schema-from-path(
   $namespace as xs:string,
   [$location as xs:string]
) as schema-root()?

Summary

Get a schema object as a value based on its namespace and schema location hint.

Parameters
namespace The target namespace of the schema.
location The location of the schema.

Example

sc:schema-from-path("http://www.w3.org/1999/xhtml");
  => 
  [16, 1.1, http://www.w3.org/1999/xhtml at xhtml1.1.xsd global ok]
Powered by MarkLogic Server | Terms of Use | Privacy Policy