sc:schema-from-path( $namespace as xs:string, [$location as xs:string] ) as schema-root()?
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. |
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]