FROM | TO | EFFECT |
---|---|---|
child element | attribute on parent | only the icon changes |
attribute on parent | child element | only the icon changes |
text content | leaf element | the icon changes and the element name becomes blank |
text content | attribute | the icon changes and the attribute name becomes blank |
leaf element | text | the contents of the element is retained, but the element name is lost |
attribute | text | the value of the attribute is retained, but the attribute name is lost |