java.lang.Object
dev.metaschema.core.metapath.function.library.FnPath
Implements the XPath 3.1
fn:path
functions.
This implementation differs from the XPath specification by returning a Metapath expression instead of an XPath expression.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ISequence<IStringItem>An implementation of XPath 3.1 fn:path.static IStringItemGenerates a Metapath for the provided item.
-
Method Details
-
fnPath
An implementation of XPath 3.1 fn:path.- Parameters:
sequence- a Metapath sequence containing an item to get the Metapath for- Returns:
- a sequence containing the generated Metapath
-
fnPath
Generates a Metapath for the provided item.- Parameters:
item- the item to get the Metapath for- Returns:
- the generated Metapath
-