view:schemas() as element(view:schema)*
This function returns all of the schema specifications.
xquery version "1.0-ml"; import module namespace view = "http://marklogic.com/xdmp/view" at "/MarkLogic/views.xqy"; view:schemas() (: Returns all of the schema specifications. :)