Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XPath Reference

ms:local-name Function

Resolves the prefix part of a qualified name into a namespace URI.

string ms:local-name(string)

Remarks

The ms:local-name() function assumes that the parameter is a qualified name (for example, q:mine or coffee:beans) and returns the local name within the context of the current node. If the argument is not a qualified name or a noncolon name, this function returns an empty string. For nonstring arguments, this function behaves as if a string() function were applied.

Example

See the example for the ms:namespace-uri function.

See Also

Data Types in Schemas | XML Schema Reference (XSD) | XML Data Types Reference