Next in thread → Next in month →

Re: [xml-dev] XML to "HTML"

From
Henri Sivonen <>
To
"David A.Lee" <>
Date
2009-11-24T08:46:12Z
ID
<>
Thread
Re: [xml-dev] XML to "HTML"
On Nov 23, 2009, at 15:04, David A. Lee wrote:

> I'm faced with the 'interesting' request of the web team to produce HTML not XHTML.
...
> Any suggestions ?

The Validator.nu HTML Parser comes with a SAX to text/html serializer:
nu.validator.htmlparser.sax.HtmlSerializer

The SAX events should represent a conforming XHTML5 document. (If they don't, the output may not necessarily be conforming HTML5, either.)

http://about.validator.nu/htmlparser/

-- 
Henri Sivonen

http://hsivonen.iki.fi/
Next in thread → Next in month →