XmlName
import { XmlName } from "jsr:@ende/xml";interface
interface XmlNameA qualified XML name with optional namespace prefix and resolved URI.
Properties
raw
readonly raw: stringThe original unsplit name (e.g., "ns:item" or "item").
local
readonly local: stringThe local part of the name (after the colon, or the whole name).
prefix
readonly prefix?: stringThe namespace prefix (before the colon), if present.
uri
readonly uri?: stringThe resolved namespace URI, if the name has a bound prefix.
For prefixed names (e.g., "ns:item"), this is the URI that the prefix
is bound to via an xmlns:ns="..." declaration.
For unprefixed names, this is undefined (the default namespace is not applied to element names in this implementation for simplicity).