MarkLogic 9 Product Documentation
schematron:delete

schematron:delete(
   $schematron-uri as xs:string
) as empty-sequence()

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


xquery version "1.0-ml"; 
 
import module namespace schematron = "http://marklogic.com/xdmp/schematron" 
      at "/MarkLogic/schematron/schematron.xqy";

schematron:delete("/userSchema.sch") 

==>

empty sequence

 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy