Class FnDoc
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.metapath.function.library.FnDoc
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IDocumentNodeItem
fnDoc(IStringItem uri, DynamicContext context)
Dynamically load the document associated with the URI, and return aIDocumentNodeItem
containing the result.
-
-
-
Method Detail
-
fnDoc
public static IDocumentNodeItem fnDoc(@NonNull IStringItem uri, @NonNull DynamicContext context)
Dynamically load the document associated with the URI, and return aIDocumentNodeItem
containing the result.Based on the XPath 3.1 fn:doc function.
- Parameters:
uri
- the resource to load the data fromcontext
- the Metapath dynamic context- Returns:
- the loaded document node item
-
-