Loading TOC...

xdmp.binaryIsExternal

xdmp.binaryIsExternal(
   $source as binary()
) as Boolean

Summary

Test whether or not a binary node represents an external binary.

Parameters
$source The binary mode to be tested.

Usage Notes

An external binary node is one created using xdmp:external-binary. For more details, see "Working With Binary Documents" in the Application Developer's Guide.

Example

var n = xdmp.externalBinary("/testdata1/logo.gif", 1, 2456);
xdmp.binaryIsExternal(n);

  => true

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy