Re: change doctype to XHTML1.0 STRICT - question to the developers
"list.fluxcms" <[email protected]> Tue, 17 Nov 2009 22:02:55 +0100
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <388184e089e0746be232ac808507350d@localhost> |
I use following code in my xsl-stylesheets: (this is master.xsl)
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:forms="http://bitflux.org/forms"
xmlns:php="http://php.net/xsl"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
exclude-result-prefixes="xhtml forms php i18n"
>
<xsl:import href="../standard/mastercommon.xsl" />
<xsl:output encoding="utf-8" method="xml"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
And I added to ../standard/mastercommon.xsl:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:forms="http://bitflux.org/forms"
xmlns:php="http://php.net/xsl"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
exclude-result-prefixes="xhtml forms php i18n"
>
<xsl:output encoding="utf-8" method="xml"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
But still -- Transitional :-(
Thomas.
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms