Loading TOC...

xdmp:binary-is-external

xdmp:binary-is-external(
   $source as binary()
) as xs: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

  let $n := xdmp:external-binary("/testdata1/logo.gif", 1, 2456))
  return xdmp:binary-is-external($n)

  => true

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.