schematron.delete

schematron.delete(
   schematron-uri as String
) as null

Summary

This function deletes the Schematron schema from the schema database and, if found, the validator XSLT from the modules database.

Parameters
schematron-uri The URI of the Schematron schema in the schema database.

Example


const schematron = require("/MarkLogic/schematron/schematron.xqy");

schematron.delete("/requestSchema.sch") 

==>

null
 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy