cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Paul Adams <>
Subject Re: CForms stylesheets - use of xsl:param and xhtml
Date Tue, 29 Jun 2004 20:03:42 GMT
>>>>> "Ugo" == Ugo Cei <> writes:

    Ugo> Il giorno 29/giu/04, alle 19:56, Bruno Dumon ha scritto:
    >> I'm not against the introduction of XHTML, but I want HTML to
    >> remain supported.

    Ugo> Me too. Only I'd rather have XHTML as the default, since it
    Ugo> can be converted to HTML by stripping namespaces, which if
    Ugo> fairly easy. Or am I missing something obvious?

I don't think so.

I've made what I think are all the necessary changes to the
At least, they may be all that's necessary for an XHTML 1.0
transitional DTD.

I always use XHTML 1.1 (I like to be up with the times). This of
course is a strict DTD.

Now I tried changing the forms sitemap to use the xhtml11 serializer -
to see how close I can get to checking it all. Since the source is
HTML this certainly won't be valid, but it's a first step at seeing
what else might be wrong.

A large number of attributes are highlighted that correspond to CSS
styling. These have no place in a Strict DTD. I guess the default html
serializer is for the transitional DTD?
Tomorrow, I'll revert to the HTML serializer, and see how the output
validates as HTML (it won't completely, because of the presence of
xmlns attributes for the xhtml namespace).
Colin Paul Adams
Preston Lancashire

View raw message