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
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.