views:

272

answers:

3

Hi guys,
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)?

+1  A: 

If the browser is Firefox, you can install Firebug and view generated HTML.

najmeddine
+1 I think you are using IE. Try the above in Firefox with Firebug addin. Will really help you solve your issue.
Ganesh R.
+5  A: 

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.

richsage
A: 

Download this viewing tool for Internet Explorer from Microsoft.

AnthonyWJones