Loading TOC...

MarkLogic Server 11.0 Product Documentation
ObjectNode.baseURI

ObjectNode.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.