Description
The fn:local-name-from-QName function returns the local part of an xs:QName . If you want to retrieve the local part of an element or attribute name, you should consider using the fn:local-name function instead; it requires one less step
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return TypeName | Type |
$arg |
xs:QName? |
return value |
xs:NCName? |
ExamplesXPath Example | Results |
---|
local-name-from-QName(
QName('http://datypic.com/prod', 'number')) |
number |
local-name-from-QName(QName ('', 'number')) |
number |
local-name-from-QName( () ) |
() |
See AlsoHistory |
Recommended Reading:
|