SDLAttribute

Attribute of sdlang node (attr="val")

alias SDLAttribute = sdl.SDLAttribute

Examples

// Create new attribute
SDLAttribute attr = SDLAttribute("qualifiedName", SDLValue.text("value"));
// Get name
attr.name;
// Get namepsace
attr.namespace;
// Get/Set qualified name (namespace:name)
attr.qualifiedName;
attr.qualifiedName = "namespace:name";
// Get/Set value
attr.value;
attr.value = SDLValue.text("new value")

Meta