|Oracle8i Application Developer's Guide - XML
Release 3 (8.1.7)
Part Number A86030-01
Using JDeveloper to Build Oracle XML Applications, 8 of 11
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.
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.