Embed multiple fie types stored in a Document Library using XSLT
===

Here is the scenario:

I have a document library that holds both images (.png, .jpg, .gif, etc) and .html files. These files are associatd with a custom content type containing a few fields. Start date, End date, etc... 

I am trying to display content from this library using a list query web part. I have the CAML query written. It selects 1 item based off a set of criteria.

Now, I need to write an XSLT to display this item on the page. If it was strictly an image, no problem. I would build the image tag using XSLT and set the src to ows_EncodedAbsUrl. Though, thats not the case. I have to deal with the pesky .html files. How can I open/display their contents. ***Note, I cannot use an iFrame***. 

Is this even possible? Or should I go back to square one and write some code to do this.