[Mono-devel-list] XhtmlTextWriter
Jeremiah McElroy
jeremiah at facility9.com
Thu Jul 3 14:55:08 EDT 2003
My original intent behind creating the XhtmlTextWriter was to provide a way
for mod_mono and xsp to create valid Xhtml markup and not be bound/hindered
by the non-compliant code that ASP.NET generates.
If there are changes that I could make which would make this more
appealing/feasible in a web environment, please let me know. I didn't think
that I made use of an XML writer in there. The majority of the code is the
same as the code in the current HtmlTextWriter.cs from CVS. I modified it
slightly to accommodate for XHTML being stricter than HTML.
Let me know what I can do to help out.
Jeremiah
:: Just for the record: we discussed this last night, and I do
:: not believe that we should use the XML writer to produce
:: XHTML, given that it is technically incorrect to return
:: text/xml when a browser requests text/html.
::
:: There is some document describing the problems that browsers
:: can run into. The XhtmlTextWriter should be used for things
:: where proper HTML will be embedded in an XML document.
More information about the Mono-devel-list
mailing list