29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 10-4 XML editor<br />

The XML editor can be opened by double-clicking an XML file (*.xml). The XML<br />

editor provides two views for editing:<br />

► Source view: Enables you to view and work directly with the source code file.<br />

Many of the XML editing features in the XML editor Source view are very<br />

similar to those available in the Source view of Page Designer.<br />

The Source view has several text editing features, such as syntax<br />

highlighting, unlimited undo/redo, and user-defined macros. Another helpful<br />

feature is content assist, which uses the information in a DTD or schema<br />

content model to provide a list of acceptable continuations, depending on<br />

where the cursor is located in an XML file, or what has just been typed.<br />

The XML editor Source view also includes a “smart” double-clicking behavior.<br />

If your cursor is placed in an attribute value, one double-click selects that<br />

value, another double-click selects the attribute-value pair, and a third<br />

double-click selects the entire tag. This makes it easier to copy and paste<br />

commonly used pieces of XML.<br />

326 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook<br />

XML toolbar<br />

XML editor area

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!