How to display XSL-transformed XML in ASP.NET page?

So far all the XML / XSLT I've worked with takes an XML document and transforms it to a standalone HTML webpage using an XSLT file.

In my web application, I'm using a web service to retrieve the XML document, which I need to render and make human-readable, and then insert that formatted content into a content placeholder in my master page.

The easiest way would be to append the XSLT to the retrieved XML file and link that to the content placeholder, but something tells me I can't just do that.

I took a look at these Stack Overflow pages, but they just want to render the straight XML whereas I want a transformed XML. Also, I need to be able to put it into my master page template.


This article shows how:

even if the spelling is as bad as mine...


And here's another link that shows how, perhaps a bit more simply

Need Your Help

Remove all GMSMarker from GMSMapView?

ios marker google-maps-sdk-ios gmsmapview

I placed 100 GMSMarkers on GMSMapView. How to remove all the GMSMarkers?

SQL tables using VARCHAR with UTF8 (with respect to multi byte character length)

mysql sql-server utf-8 db2 hsqldb

Like in Oracle VARCHAR( 60 CHAR ) I would like to specify a varchar field with variable length depending on the inserted characters.