Library for generating valid HTML files?

  • Thread starter Thread starter Gustaf
  • Start date Start date
G

Gustaf

I've been searching the .NET Framework for a set of classes with which I
can output valid HTML 4.01 files, much like XmlTextWriter outputs valid
XML files. I found the HtmlTextWriter but it appears to be all about
generating HTML dynamically, which is not what I want.

Also, it would be nice if the writer class had methods targeted
*especially* for HTML markup (such as WriteStartList() or
WriteListItem()), while still allowing for your own markup too (as the
writer methods in XmlTextWriter). But maybe that's too much to ask. I
realize it would be a huge class if you'd have a method for every
element with a number of overrides for different sets of attributes. Has
anyone done some work on such a library?

Gustaf
 

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

Back
Top