XHTML Known Attribute Values Conversion (Again)

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 UTC