p:pipelines() as element(p:pipeline)*
Return all the pipelines.
xquery version "1.0-ml"; import module namespace p = "http://marklogic.com/cpf/pipelines" at "/MarkLogic/cpf/pipelines.xqy"; for $pipeline in p:pipelines() return $pipeline/p:pipeline-name