W3C home > Mailing lists > Public > www-validator@w3.org > February 2003

Re: DOCTYPE help requested..

From: Kevin Hanna <kevin@hanna.net>
Date: Thu, 06 Feb 2003 03:57:17 -0500
Message-ID: <3E42236D.2000302@hanna.net>
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
CC: www-validator@w3.org

Mason Loring Bliss wrote:

>Apologies if this is the wrong forum for this question... I've been
>searching for an answer for some hours now with no success, and I've
>decided that it will simply be easier asking someone who knows.
>I want to use frames for a set of pages. I want to use the "target"
>attribute with some "a" tags in a "table of contents" frame to control
>what page is displaying in another frame. However, I also want the whole
>mess to conform to XHTML 1.0 Strict or XHTML 1.1.
You can't use frames and conform to XHTML 1.0 Strict or XHTML1.1 (you 
can extend the xhtml11.dtd but it would no longer be "XHTML")?  Why not 
use XHTML 1.0 Frameset?  Or better yet, not use frames?

>My question is this: Can I somehow include (a reference to) the Target
>module in my DOCTYPE declaration? Or is the only answer found in creating
>a new DTD that includes the Target module? (I am not familiar with DTD
>innards yet. I encountered this idea in this list's archives.)
You can't add a module simply by adding an attribute to the DOCTYPE.  
You would have to wrap the xhtml11.dtd (or parts of) with your own DTD 
and add your new DTD it in your DOCTYPE.  In which case it is no longer 

See http://www.w3.org/MarkUp/Guide/xhtml-m12n-tutorial/ for information 
on modularization. But it's fairly complicated to do properly if you are 
not familiar with DTD's and namespaces.

>I've found no examples of modules being included in an HTML document's
>DOCTYPE declaration, and I've found no "approachable" documentation
>demonstrating the use of modules in the real world. (The standard itself
>is a bit dense for me at present.)
>Thanks in advance for clues. Please CC my address, as I am not subscribed
>to this list directly. If this is an inappropriate forum for this question,
>I would kindly appreciate a pointer to a more appropriate list.
There are several newsgroups or Yahoo groups where people are happy to 
answer questions like this (search for groups on xml if you can't find 
xhtml ones).  Also http://www.xml.com has articles that you can search.

Received on Thursday, 6 February 2003 05:12:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:32 UTC