ho trovato ora 1 su internet che ha fatto creato un DTD in cui si mixa XHMTL1.1 ed il modulo "target.mod":
funziona alla grande anche su IE6, dove la pagina viene caricata in StandardMode e no QuirksMode...tuttavia non fa altro che sommare 2 moduli standard, quindi già presenti nella memoria del browser ... quindi andrebbe ancora provato ad estendere con un modulo "fatto in casa"Codice PHP:<!-- File: xhtml11-target.dtd
XHTML 1.1 DTD which loads the optional Target 1.0 Module.
Public and System Identifiers:
PUBLIC "-//golem.ph.utexas.edu//DTD XHTML 1.1 plus Target 1.0//EN"
SYSTEM "http://golem.ph.utexas.edu/DTD/xhtml11-target.dtd"
You might want to save a copy to your local machine and change the System
Identifier appropriately.
The corresponding DOCTYPE declaration:
<!DOCTYPE html
PUBLIC "-//golem.ph.utexas.edu//DTD XHTML 1.1 plus Target 1.0//EN"
"http://golem.ph.utexas.edu/DTD/xhtml11-target.dtd">
Original idea: Dave H <dmh@dmh.org.uk>
[url]http://www.dmh.org.uk/[/url]
-->
<!ENTITY % XHTML.version
"-//golem.ph.utexas.edu//DTD XHTML 1.1 plus Target 1.0//EN" >
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
%xhtml11.mod;
<!ENTITY % xhtml-target.mod
PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-target-1.mod" >
%xhtml-target.mod;
ps: dubbio in extremis: ma i validatori spero che ovviamente effetuino la validazione anche con DTD personalizzati vero?![]()

Rispondi quotando