W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

XHTML Known Attribute Values Conversion (Again)

From: Jason Grigsby <jason@kavi.com>
Date: Fri, 09 Feb 2001 14:35:08 -0800
To: <html-tidy@w3.org>
Message-ID: <B6A9B09C.18DA%jason@kavi.com>
Ok, I'm being a little more persistent (pushy?) than I am normally, but I
didn't get any response from posting this earlier, and I really could use
some help with this. So here my original message again on the off chance
that people missed my message amongst their deluge of email. Your help is
appreciated.

-Jason

----------------

I've been working with HTML Tidy to do conversion of HTML to XHTML. The one
piece I'm struggling with is trying to find streamline conversion of all
caps attribute values to lower case values for values that are defined in
the XHTML DTD.

For example, in many of our existing HTML files, we have code like:

<tr align="LEFT">

In XHTML, the only acceptable values of align are "left", "right", "center",
"justify" or "char". These are case sensitive.

It seems like that should be a way with HTML Tidy to streamline conversion
of these known XHTML attributes values to be valid against the DTD by
changing to lowercase "LEFT".

Is this possible? If not, does anyone know of another way to streamline
this? This *seems* like a great feature for a future version.

Thank You,

Jason
Received on Friday, 9 February 2001 17:35:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT