
Figure 5-2 XML editor
Editing an XML file
The XML Editor has two main views: Source view, Design view, in addition to utilizing the Outline view, and Task view. The Source view is a text editor that lets you directly edit the source of the XML document. It has several text editing features, such as syntax highlighting, and content assist, which uses the information in a DTD or schema content model to provide a list of acceptable continuations depending on where the cursor is located in an XML file, or what has just been types. The XML editor Source view also includes a smart
The Design view displays the XML document as a tree enabling you to manipulate the document by adding, removing, and editing tree nodes. This also makes navigation easier. Note that in the left column of the Design view, we see the elements, attributes, and other nodes of the XML document's tree. The right column is used to display the values associated with these nodes. Content and attribute values can be edited directly in the table cells, while
82 The XML Files: Development of XML/XSL Applications Using WebSphere Studio