MarkLogic 9 Product Documentation
Node.baseURI

Node.baseURI as String

Summary

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

const uris = [];
for (const hit of cts.search("frightening")) {
  uris.push(hit.baseURI);
}
uris;
Powered by MarkLogic Server | Terms of Use | Privacy Policy