[l2h] XHTML Support
Michael Chapman
mchapman@mchapman.com
Mon, 21 Jan 2002 04:48:41 +0000
On Friday 18 January 2002 13:19, Peter Bray wrote:
> ((Not a list member - Please copy replies to me - Thanks))
> I bet your asking why he would want XHTML support ?
> My Answer: XSL/XSLT, the tranformation language of XML.
> I'm working with them at the moment and and they have a lot of power
> to offer - it fact it may even simplify the LaTeX2HTML code base, but
> that was not my reason ;-)
Thanks for that, we have spent a while converting site(s) to XHTML, but I
have begun to wonder: "Why?" !
> I was about write a simple perl script to edit the generated HTML a
> little and realised it would be an easy task for an XSLT processor like
> James Clark's XT or Gnome's libxlst's xsltproc.
Try "tidy" by David Raggett (www.w3c.org/People/Raggett/tidy ... I think)
which does nice conversions of HTML to XHTML ("tidy -asxhtml" from the
command line), including batch conversions (also warning on accessibility
issues: missing "alt='image description'", etc.).
It does some encoding work as well, but from my experience encoding then
remains as the major bugbear! (Anyone noted any major progress on UTF-8??)
Regards,
Michael Chapman.