path

path() → xs:string

There are no arguments

Result

xs:string

path($arg as node()?) → xs:string?

Arguments

 

$arg

node()?

The node whose path is to be determined

Result

xs:string?

Links to W3C specifications

Namespace: http://www.w3.org/2005/xpath-functions

Applies to: XPath 3.0, XSLT 3.0, XQuery 3.0 (if enabled in Saxon: requires Saxon-PE or Saxon-EE)

XPath 3.0 Functions and Operators

Notes on the Saxon implementation

Newly implemented in Saxon 9.4, provided XPath 3.0 is enabled; replaces the extension function saxon:path which is retained for the time being.