# Class zXslt

- `Object`

- `zXslt`

## Description

The `zXslt` class is used to perform cross-browser XSLT transformations.

This class equalizes the differences between Internet Explorer and Mozilla implementations (other browsers don't support JavaScript-based XSLT).

#### Author:

Nicholas C. Zakas, http://www.nczonline.net/

#### Version:

1.0

#### Since:

1.0

## Method Summary

`static String` | `transformToText(XMLDocument oXml, XMLDocument oXslt)` Transforms an XML document using an XSLT document.

## Method Detail

### transformToText

`public static String transformToText(XMLDocument oXml, XMLDocument oXslt)`

Transforms an XML document using an XSLT document.

#### Arguments:

- `oXml` - The XML DOM document to transform.
- `oXslt` - An XML DOM document loaded with XSLT.

#### Returns:

A string containing the transformation.