XML View

This view allows a user to edit an XML file in a similar manner to editing the Structure in a template. It is not intended to be a full blown XML text editor.

The context menu for the view is :

  • Edit Text - allows the node text to be editted, only applies to leaf nodes
  • Fix Content - if the node has been surrounded by % symbols in preparation for use by CAM this option will remove them.
  • Allow Any Content - will surround the node's text with % symbols, ready for be used in CAM.
  • Add Child Element - adds an element as a child of the current Element.
  • Add Child Attribute - adds an attribute to the current Element.
  • Delete Item - removes the current node and any children it has from the XML file.
  • Delete Parent - Deletes the parent of the current node.
  • Add Namespace Declaration - Adds a namespace to the current XML document. This must be done before adding a node that belongs to a namespace.
  • Expand All Children - This expands all the children of the current node including their children.
  • Hide All Children - This hides all the children of the current node.

There are also three options available on the toolbar, these are:

  • Find Text - allows the user to find nodes that contain the text to be found in their name or their content.

    It opens the dialog shown above to allow a user to enter some text that they are looking for.

    After the users has entered the text and pressed OK the view will look something like this:

  • Undo Find - this removes the filter applied after a user uses the Find text option. The affect is to show the