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.

10.2.3 Editors<br />

► Select Foreign keys as links, and select Recurse though foreign keys. If<br />

you select both options, the tool will map each foreign table into a separate<br />

XML document.<br />

Generate schema definition<br />

If you would like to generate a schema definition that will contain information<br />

about the structure of your XML file, select either XML Schema or DTD. If you do<br />

not need a schema definition, select None.<br />

Generate a template file<br />

Once you have unit-tested your query and the output XML documents, you may<br />

wish to generate them dynamically when running your application within the<br />

<strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong>. To do this, you can save your query in a template<br />

file. For more information about using this file to dynamically create your XML<br />

documents, see “Using XML in the Online Catalog sample” on page 332.<br />

Select the Output folder<br />

Specify the folder in which you want to store the generated files. Click Browse to<br />

browse to a folder.<br />

Studio Site Developer provides you with numerous XML editors for working with<br />

XML-related files. This section will look at XML, XML schema, DTD, and XSL<br />

editors.<br />

Important: This section simply describes the different editors. For detailed<br />

information on how to use the different editors, please refer to the product<br />

help.<br />

XML editor<br />

The XML editor is a tool for creating and viewing XML files. You can use it to<br />

create new XML files, either from scratch or from existing DTDs or XML<br />

schemas. You can also use it to edit XML files, associate them with DTDs or<br />

schemas, and validate them.<br />

Chapter 10. Working with XML 325

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

Saved successfully!

Ooh no, something went wrong!