An output document may be produced from a Web source document by including
special markup or output indicators designating output regions in said
source document. After detecting the output indicators, any dynamic
markup in the Web source document is resolved. An HTML stream is
generated that includes the resolved dynamic markup and is then rendered
in memory on an internal HTML viewer. The internally rendered HTML is
mapped into a print object. Depending on the format of the output
document desired, a document transform object is selected that uses the
print object to create the output document in the selected format.