PhoenixmlDb.Core

XdmQName

Represents an expanded QName (namespace URI + local name + optional prefix), as used throughout the XDM for node names, type names, and function names.

#XdmQName

Namespace: PhoenixmlDb.Xdm

Represents an expanded QName (namespace URI + local name + optional prefix), as used throughout the XDM for node names, type names, and function names.

A QName uniquely identifies an XML name via its XdmQName.Namespace and XdmQName.LocalName. The XdmQName.Prefix is preserved for serialization fidelity but is not significant for equality — two QNames with the same namespace and local name are equal regardless of prefix.

The namespace is stored as an interned NamespaceId for efficient comparison. Use XdmQName.Local to create QNames with no namespace.

#Properties

Name Description
IsUnqualified Returns true if this QName has no namespace.
PrefixedName Returns the prefixed form (prefix:localname) if prefix is set, otherwise just the local name.

#Methods

#Local(String)

Creates a QName with no namespace.