The local-name function returns a string representing the local name of the first node in a given node-set.
Syntax
local-name( [node-set] )
Parameters
node-set(optional)- : The local name of the first node in this node-set will be returned. If this argument is omitted, the current context node will be used.
Return value
A string.
Description
- The local name is the local part of an expanded-name.
Specifications
Gecko support
Supported.
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
