XSL Transform in WebBrowser control

G

Guest

Hello,
The new WebBrowser control in .Net 2.0 is great... does anyone know how I
can view an xsl-transformed xml file in it? Ideally I'd set the XML file, set
the Xslt file, and then view the result.
The xml file does not initially have a reference to the Xslt file.

Thanks,
Mark
 
G

Guest

Don't focus on transforming XML inside the WebBrowser control.

Run the transform in the Widnows Forms code "behind" the control.

Then use the WebBrowser.Document.Write() method or the HtmlElement.InnerHtml
property to inject the XHTML you obtain from the transformation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top