Loading TOC...

MarkLogic 10 Product Documentation
BinaryNode.baseURI

BinaryNode.baseURI as String

Summary

This is inherited from the Node object.

Returns a string representing the base URI of the node.

Usage Notes

For XML documents, the base URI may be affected by an xml:base attribute on any ancestor of the current node.

Example

let uris = [];
for (const hit of cts.search("frightening")) {
  uris.push(hit.baseURI);
}
uris;

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