1. A method, comprising: obtaining an extensible stylesheet language transformation (XSLT) stylesheet; transforming, via the processor, data of an extensible markup language (XML) data stream into transformed XML data using the XSLT stylesheet; and generating, via the processor, a printable representation of the data of the XML data stream based on the transformed XML data, wherein generating the printable representation comprises: processing an instream foreign object of the XML data stream to generate a bitmap; and merging the bitmap into the printable representation.