Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
|
Using XML Transviewer Beans, 9 of 15
XMLTransformPanel visual bean applies XSL transformations to XML documents. It visualizes the result and allows editing of input XML and XSL documents and files.
This bean required no programmatic input. It is a component that interacts directly with you and is not customizable.
XMLTransformPanel Bean also has the following features:
CLOB tables created by the XSL Transformer Bean can be used by trigger based stored procedures to mirror tables or views in the database into HTML data held in these CLOB tables. See "XSL Transviewer Bean Scenario 1: Regenerating HTML Only When Underlying Data Changes".
Note:
This could be confusing to you, because all the beans in this chapter (and in XDK for Java) are referred to as "Transviewer Beans", but the specific "Transviewer Bean" is an application that uses XMLTransformPanel Bean, in other words, it uses the oracle.xml.transviewer()
API.
Transviewer Bean can be used from the command line to perform the following actions:
This class maintains CLOB tables that can hold multiple XML and text documents.
Each table is created using the following statement:
CREATE TABLE tablename FILENAME CHAR( 16) UNIQUE, FILEDATA CLOB) LOB(FILEDATA) STORE AS (DISABLE STORAGE IN ROW)
Each XML (or text) document is stored as a row in the table. The FILENAME field holds a unique string used as a key to retrieve, update, or delete the row. Document text is stored in the FILEDATA field. This is a CLOB object. The CLOB tables are automatically maintained by the Transviewer Bean. The CLOB tables maintained by this class can be later used by the Transviewer Bean.
The class does the following tasks:
"Transviewer Bean Example 3: XMLTransformPanelSample.java" for an example of how to use XMLTransformPanel.
See:
|
Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|