MarkLogic 10 Product Documentation
pki:template-get-description

pki:template-get-description(
   $template as element(pki:template)
) as xs:string

Summary

This function returns the description of the specified certificate template.

Parameters
template The certificate template from which to get the description.

Example

  (: execute this against the security database :)
  xquery version "1.0-ml"; 
  import module namespace pki = "http://marklogic.com/xdmp/pki" 
       at "/MarkLogic/pki.xqy";

  for $tid in pki:get-template-ids()
    return  pki:template-get-description(pki:get-template($tid))

  (: Returns the descriptions of the certificate templates. :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy