Html – view the html source of an xml document transformed by xsl

browserdebugginghtmlxmlxslt

This is a fairly simple case. I have an xml document, linked to an xsl stylesheet, that can be viewed in a web browser. Now that the output is not really what I expected, so I want to look at the (output) html code to see what happened. However, when I say "view source", the browsers just throw the original xml file at me.
Please show me how to view the html source 🙂

updated
Actually I can view it with Chrome (by right clicking and say "Inspect element"), but that's somewhat browser dependent. Additionally I don't want to install anything just for this small treat. Is there any general solution (i.e. something that works with all (or most) browsers)?

Best Answer

In Firefox, if you select the entire text (eg Ctrl-A) on the page, you can right-click and select "View Selection Source" which will show you what's been rendered, rather than the document source.