Saxonica.com

fn:prefix-from-QName

fn:prefix-from-QName( QName? $srcval) → xs:NCName?

Function signature

$srcval

xs:QName ?

Result

xs:NCName ?

Extracts the prefix component of a QName value. Returns an empty sequence if the QName has no prefix.

XPath 2.0 Specification

Next