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.

Answers


This article shows how:

http://www.codeproject.com/Articles/37868/Beginners-Introduction-To-XSL-Transform-Rendering-XML-Data-using-XSL-Get-HTML-output.aspx

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

Added

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

http://www.aspfree.com/c/a/XML/Applying-XSLT-to-XML-Using-ASP.NET/2/


Need Your Help

Using architecture specific settings in Xcode 4.2

ios xcode

I wonder if there is a way to specify different Optimization Levels according to architecture in Xcode?

Changing input value

javascript jquery input key key-bindings

The main problem is, that I want to write Georgian characters in input even with Latin keyboard. My code works like this: on keydown, it gets the char of the key pressed, then finds it's Georgian