prefix-from-QName

The prefix portion of a QName

Description

The fn:prefix-from-QName function returns the prefix associated with a particular qualified name. Note that the prefix associated with a qualified name selected from an input document will be the prefix that is used in that input document, not a prefix used in the query.

Parameters

Description

arg:string()

Examples

XPath

Results

Explanation

prefix-from-QName(node-name($in-xml))

()

XPath

Results

prefix-from-QName(node-name($in-xml))

()

See Also