local-name-from-QName function
The fn:local-name-from-QName function returns the local part of an xs:QName value.
Syntax
- qualified-name
- The qualified name from which the local part is to be retrieved.
qualified-name has the xs:QName data type, or is the empty sequence.
Returned value
If qualified-name is not the empty sequence, the value that is returned is an xs:NCName value that is the local part of qualified-name. If qualified-name is the empty sequence, the empty sequence is returned.
Example
The following function returns the
local part of a qualified name.
fn:local-name-from-QName(fn:QName("http://www.mycompany.com/", "ns:employee"))The returned value is "employee".
