Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

Personalizing Data Display With XML: Portal-to-Go , 12 of 16

## Transforming XML to the Target Markup Language

Portal-to-Go Transformers convert XML documents into the markup language for the target device. By using a generic internal XML format, such as SimpleResult, to represent information, you can take full advantage of each client device's UI capabilities.

The Transformers use the SimpleResult DTD to map abstract UI elements to the target format. You can implement a Transformer using Java or XSL-T, depending on what you need to do:

- Java. Java lets you add device-specific behavior, such as a Repeat function for a VOX device, which isn't needed for a device that writes to the screen. See "Portal-to-Go Java Transformer Example 1: Converting Simple Result Elements to Another Format".

- XSL -T. XSL Style sheets can include complex pattern matching and result handling logic. They typically include literal result elements, such as the target format markup tags. Portal-to-Go uses XSL style sheets by default. See "Portal-to-Go XSL Stylesheet Transformer Example 1: Converting Simple Result Documents to Plain Text".

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index