I need to modify a section of HTML that will be submitted by a UI as a snippet (not as a file). I need to do some heavy reformatting of the HTML by identifying patterns of formatting in each node to determine what kind of content it is. It will be XHTML so I don't have to deal with poorly formed HTML.
I have created basic data-driven asp.net pages, but have not used the DOM before. All of the examples I can find require loading a file or using the web browser control in a windows forms application. Just getting suggestions for a better set of search terms might help.
THANK YOU