p:action( $module as xs:string, $description as xs:string?, $options as element()? ) as element(p:action)
Construct an action element.
xquery version "1.0-ml"; import module namespace p = "http://marklogic.com/cpf/pipelines" at "/MarkLogic/cpf/pipelines.xqy"; p:action("/app/process-workitem.xqy", (), () ) ===> returns <p:action xmlns:p="http:marklogic.com/cpf/pipelines"> <p:module>/app/process-workitem.xqy</p:module> </p:action>