infodev:get-file( $source-location as xs:string, $ticket-id as xs:string, $policy-deltas as element(info:options)? ) as node()
[DEPRECATED] This is a convenience function that wraps
xdmp:document-get
. The document specified
in $source-location
is bundled with other
documents into a transaction, and ingested.
This function is similar to infodev:ingest
, only
it takes care of handling the infostudio options.
http://marklogic.com/xdmp/privileges/infostudio
xquery version "1.0-ml"; import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev" at "/MarkLogic/appservices/infostudio/infodev.xqy"; infodev:get-file("/space/myfile.xml", infodev:ticket-create(), ())
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.