Changing a node's type

  1. Highlight the node to change.
  2. Select Change To from the Tools menu.
  3. Under Change To, select the type to which the node is to change.

Valid node type changes

FROMTOEFFECT
child elementattribute on parentonly the icon changes
attribute on parentchild elementonly the icon changes
text contentleaf elementthe icon changes and the element name becomes blank
text contentattributethe icon changes and the attribute name becomes blank
leaf elementtextthe contents of the element is retained, but the element name is lost
attributetextthe value of the attribute is retained, but the attribute name is lost

Invalid node type changes

  1. Type changes cannot occur for nodes which have children.
  2. The root node cannot have its type changed.