Using XML Streams
Overview
The XML Streams Module allows you to serialize an object and write it as a stream of XML data. The serialized object can later be streamed in and restored, either by the process that streamed the object or by another process equipped to handle XML streams. Object serialization is used for persisting objects and for transmitting objects between processes in a distributed system.
The use of XML as the data format has these advantages:
*The data stream is human readable.
*The data stream is self-describing, which allows for processing of the data by other XML-aware applications.
*XSLT stylesheets provide a flexible means of transforming an XML stream into any needed format, such as HTML for display in a browser.
This chapter includes
*a description of the types of streams
*when to use XML streams
*an introduction to the streaming examples included in this manual