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.

Figure 10-12 XML From an SQL Query page<br />

11.Click Finish. Four files will be added to the featured_item folder:<br />

– FeaturedItem.html - This file will not be used in the sample and can be<br />

deleted.<br />

– FeaturedItem.xml - This file will not be used in the sample and can be<br />

deleted.<br />

– FeaturedItem.xsl - This file will be used within a servlet to dynamically<br />

create the XSL output. It contains the data on how the HTML output<br />

should be rendered.<br />

Example 10-2 FeaturedItem.xsl<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Chapter 10. Working with XML 337

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

Saved successfully!

Ooh no, something went wrong!