29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When you first create a new DTD from scratch, there are no elements in it. The<br />

DTD will open in the editor but will look blank. To work with the DTD, switch to the<br />

Design view. You will use the Outline view and Design view to build the DTD<br />

elements.<br />

Validating DTDs<br />

A DTD open in the editor can be validated using the DTD drop-down menu. You<br />

can also validate a DTD file (open or not) using the context menu of the .dtd file<br />

in the Navigator view.<br />

XSL editor<br />

The XSL editor provides a text editor to handle the source code of the XSL file. It<br />

has several text editing features, such as content assist and syntax highlighting.<br />

The content assist feature helps you in writing your XSL code, since it is aware of<br />

the proper XSL grammar rules. When editing the XSL document, content assist<br />

can be invoked to prompt you with a list of possible XSL constructs to use.<br />

Concerning the syntax highlighting feature, you will notice that whenever you<br />

select any of the XSL file components listed in the Outline view, the<br />

corresponding XSL code for that component will be selected, and vice versa.<br />

Figure 10-7 XSL editor<br />

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

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

Saved successfully!

Ooh no, something went wrong!