Oracle8i Application Developer's Guide - XML
Release 3 (8.1.7)

Part Number A86030-01

Library

Solution Area

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Using JDeveloper to Build Oracle XML Applications, 8 of 11


Using JDeveloper's XML Data Generator Web Bean

The XML Data Generator Web (Bean) can be used in JSP and Servlet applications. It reads data from a Business Component (View Object) and produces the appropriate XML. The strength of this Web Bean is the following:

The Data Generator Web Bean is in the "Data Web Beans" category of the JSP Elements wizard. Figure 14-5 illustrates accessing the XML Data Generator Web (Bean) from the JSP Element Wizard.

Call the Element Wizard from your JSP or XSQL Page by right-cliking anywhere on the Page where you want to include an element. Specify the stylesheet as a parameter in the Element Wizard.

Figure 14-5 JSP Element Wizard: XML Data Generator Bean


Once you launch this wizard, you can specify a stylesheet to apply to the XML data that you generate and see the result of your output.

Figure 14-6 is an example output displayed by applying an XSL stylesheet to the employee listing.

Figure 14-6 Browser HTML Display Showing the Employee Listing (XML+XSLT= HTML)



Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Solution Area

Contents

Index