Overview of the Transformation Process
The following sections illustrate how to perform both character-based and element-based transformations, using an object book.
The steps included in this section include:
*adding serialization support (for more information, see Chapter 3)
*creating a book object and serializing it to a file using an XML stream that applies a transformation to make the resulting XML more readable
*reading the file back in and restoring the book object using an XML stream that applies a transformation to restore the original XML format
*printing out both the original XML streams data for the book object and its more readable, transformed version