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-10 SQL statement editor with SQL inserted<br />

6. Close the builder and save the statement.<br />

Step 2: Using the XML and SQL Query wizard<br />

With the SQL statement completed, we can now use the SQL to XML wizard to<br />

create the XSL and XST files that we will need later in the sample.<br />

1. Open the Web perspective and switch to the Project Navigator view.<br />

2. Navigate to the WebContent folder, right-click it, and select New -> Folder<br />

from the context menu.<br />

3. Enter featured_item as the folder name and click Finish.<br />

4. Navigate to the featured_item folder, right-click it, and select New -> Other<br />

from the context menu.<br />

5. In the left pane of the New dialog, select XML and then select XML and SQL<br />

Query from the right pane.<br />

6. Click Next.<br />

Chapter 10. Working with XML 335

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

Saved successfully!

Ooh no, something went wrong!