I frequently use HTML output in applications, up to now I've used some simple routines to build an HTML string. I want to try something different now:
I want to serialize the data to XML, and provide some XSLT templates to generate the HTML for the webbrowser control. I get that to work statically (slowly digging through writing XSL), but I'd need to change some attributes of the XSL document on the fly: filters, paths etc. to follow the current UI selection.
The data is small enough that the XML serialization on change should not be a problem. I'd like to use "static" external XSL files (so that the user can customize the output to a certain extent), but adjust .
My questions:
Is this idea technically sound?
Can I feed a web browser control dynamically with XML and an XSL document?
Can I modify selected path elements and attributes in the XSL on the fly (i.e. without generating a new file)?
How to do that in a web browser control? (some pointers to get me started would be nice..)
[edit]Thanks folks, it's working :D[/edit]