￿The view on the bottom left shows the Navigator view, which displays the folders, and files of the project

￿The view on the bottom right shows the Tasks view, which shows the problems and errors to be fixed

5.2XML perspective editors

In this section, we demonstrate the editing capabilities of the XML components editors available in the Application Developer.

5.2.1 XML editor

This is a tool for creating and viewing XML files. You can use it to edit the contents of new XML files, either created from scratch or from existing DTDs, or XML Schemas. You can also use it to edit XML files, associate them with DTDs or schemas, and validate them.

Creating an XML file from scratch

In this section, we show how to create a new XML file. To create a new file from scratch, use the New XML wizard as follows:

￿Select File—>New—>Project—>Simple —>Project to bring up the New Project wizard to create a simple project.

￿Select File—>New—>XMLto launch the new XML wizard.

￿Select the option Create XML file from scratch.

￿Select Next.

￿In the File name field, type your XML file name.

￿Click Finish. The XML file is created and the XML Editor is automatically opened for you, as shown in Figure 5-2.

Chapter 5. Application Developer XML Tools 81

Page 97
Image 97
IBM Version 5 manual XML perspective editors, XML editor, Creating an XML file from scratch