License
BSD-3-Clause
CDM attribute for SDL-style tags.
This module provides the CdmAttribute struct for representing name=value pairs in SDL tags.
SDL tag attribute (name=value pair).
CdmAttribute represents an attribute on a TAG node, consisting of an optional namespace prefix, a name, a value, and a source location.
Unlike the old DomAttribute which stored the value inline, CdmAttribute stores the value as a pointer, allowing shared reference semantics.
CdmAttribute attr;
attr.name = "version";
attr.namespace = "xsi";
assert(attr.fullName() == "xsi:version");
CdmAttribute simple;
simple.name = "id";
assert(simple.fullName() == "id");