Home › Forums › General XMetaL Discussion › Attribute with empty string value › Reply To: Attribute with empty string value
Reply to: Attribute with empty string value
September 23, 2012 at 11:24 amThe Attribute Inspector can't really help distinguish things here as it has no way to distinguish the to in its UI.
You might be able to do something with CSS though.
For scripting there is DOMElement_object.hasAttribute() which allows you to check whether an attribute is present, even if it is set to “”. That might be useful in any scripting solution.
So, this attribute is really meant to be used as a boolean option? That doesn't seem very user friendly to me (ie: easy to distinguish, even when check the XML source).