sc.schemaFromPath( namespace as String, [location as String] ) as schemaRoot()?
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.schemaFromPath("http://www.w3.org/1999/xhtml"); => [16, 1.1, http://www.w3.org/1999/xhtml at xhtml1.1.xsd global ok]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.