Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.caucho.transform

Interfaces for XSLT transformations.

See:
Description

Interface Summary
NodeTransformer | Transforms the input to a result node.
SAXTransformer | Transforms the input to a SAX handler.
StreamTransformer | Transforms the input to an output stream.
StringTransformer | Transforms the input to a string.
Stylesheet | Represents a compiled stylesheet.
StylesheetFactory | Factory for creating stylesheets.
Transformer | Transforms the input to an output.

Class Summary
OutputFormat | Encapsulates the xsl:output attributes.

## Package com.caucho.transform Description

Interfaces for XSLT transformations.

1. Create the XSLT stylesheet.
2. Read the source document.
3. Transform the source document.

`

    StylesheetFactory factory = new Xsl();
    Stylesheet style = factory.newStylesheet("mystyle.xsl");

    StreamTransformer transformer = style.newStreamTransformer();

    WriteStream os = Vfs.openWrite("test.html");
    transformer.transform("test.xml", os);
    os.close();

`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES