This example shows how an application that uses the Bakery framework can format its document as XML.
It derives its document class from Bakery::Document_XML, which uses the libxml++ API.


A real-world application should install and register its document's DTD with the xml-catalog. The
external bakery_example_xml package shows how to do this.

