xquery (Java class ItemXqueryFile)

Retrieves a file from IDM given a XQuery. If the XQuery returns more than one document, then the first document that is returned is used.

Attribute name Value Type Description
type "xquery" string The file object type
xquery Example: "/MDS_File[@MDS_name=FileName]" string The xquery.

This is an example of this input type in JSon:

{
    "type": "xquery",
    "xquery": "/MDS_File[@MDS_name=\"FileName\"]"
}