infodev:file-filter( $policy-name as xs:string?, $policy-deltas as element(info:options)* ) as xs:string
[DEPRECATED] This function returns a string representing a matching pattern to be applied to file paths on ingest.
xquery version "1.0-ml"; import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev" at "/MarkLogic/appservices/infostudio/infodev.xqy"; let $options := <options xmlns="http://marklogic.com/appservices/infostudio"> <file-filter>^[^\.xml]</file-filter> </options> return infodev:file-filter("default", $options) => ^[^\.xml]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.