plugin:plugins( $capability as xs:string*, [$scope as xs:string] ) as xs:string*
This function returns unique IDs of the registered plugins that have the specified capabilities. If no matching plugins are registered, an empty sequence is returned.
xquery version "1.0-ml"; import module namespace plugin = "http://marklogic.com/extension/plugin" at "/MarkLogic/plugin/plugin.xqy"; plugin:plugins("http://marklogic.com/appservices/infostudio/collector/abort") (: Lists all collector plugins with the 'abort' capability. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.