# Class zXMLSerializer

- `Object`

- `zXMLSerializer`

## Description

The `zXmlSerializer` class is a cross-browser version of Mozilla's built-in `XMLSerializer` object, which can be used to serialize XML DOM documents to text.

#### Author:

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

#### Version:

1.0

#### Since:

1.0

## Method Summary

`String` | `serializeToString(Node oNode)` Returns a string representation of the XML node.

## Method Detail

### serializeToString

`public String serializeToString(Node oNode)`

Returns a string representation of the XML node.

#### Arguments:

- `oNode` - The node to serialize.

#### Returns:

A string representation of the XML node.