Using JQuery server side with DOM?
Is it possible to emulate a browser's javascript/dom parsing behaviour somehow from an embedded javascript interpreter? I'm trying to do more powerful mail merges, and currently we transform poorly-structured HTML files using a C# DOM parser (
http://www.codeplex.com/htmlagilitypack), but I can see substantial benefits of using JQuery to do the same thing.
In simple terms, I want to somehow take plain HTML+JQuery and pass it through an interpreter to allow JQuery to manipulate the DOM. The end result would be plain HTML. Our environment is .Net; any ideas on whether this is feasible?