XmlName constructor
Creates a qualified XmlName from a local
name and an optional
prefix
.
Implementation
factory XmlName(String local, [String? prefix]) =>
prefix == null || prefix.isEmpty
? XmlSimpleName(local)
: XmlPrefixName(prefix, local, '$prefix${XmlToken.namespace}$local');