
info:policy( $policy-name as xs:string ) as element(info:options)?
[DEPRECATED] This function returns the stored policy matching the specified policy. If the policy does not exist, this function returns an empty sequence.
| Parameters | |
|---|---|
| policy-name | Name of the policy to be returned. |
xquery version "1.0-ml";
import module namespace info = "http://marklogic.com/appservices/infostudio"
at "/MarkLogic/appservices/infostudio/info.xqy";
info:policy("default")
(: Returns the default policy. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.