Add 'toSDLString()' for tags and attributes.