Inside a specific node:
{path-to-parent}/name()='search string']
Anywhere in the document:
//*[name()='search string']
function | return value |
---|---|
local-name() | the node's name without prefix |
local-name() result does not include prefix (lookup name() XPATH function for it)