java.lang.Object
dev.metaschema.core.metapath.function.library.FnDocumentUri

public final class FnDocumentUri extends Object
Implements the XPath 3.1 fn:document-uri functions.
  • Method Details

    • fnDocumentUri

      @Nullable public static IAnyUriItem fnDocumentUri(@NonNull IDocumentNodeItem document)
      Get the URI of the document.

      Based on the XPath 3.1 fn:document-uri function.

      Parameters:
      document - the document to get the URI for
      Returns:
      the URI of the document or null if not available