On Fri, 31 Dec 2004 15:36:58 -0000, Kornel Lesinski <[EMAIL PROTECTED]> wrote:


I'm thinking about creating my own doctype/DTD and adding some new tags.


I'm far from being an expert on this subject, but here's what I think:

First of all, current browsers don't really use the Document Type Definitions
provided by the W3C website, they just look for the correct
Document Type Declarations. So, they probably will recognise your
DT Declaration as another junk and will probably fall back to the
quirksmode (I wouldn't certanly want that).


As you are refering to XHTML2, I must note that this should be served
as application/xhtml+xml which isn't accepted by IE - so that's
clearly off.

And if you are using some other elements than those in the specification,
or defining your own DT Definitions, then clearly you aren't following
the standards - but trieng to come up with one by yourself.

I think the right way to define your own tags is to use XML - which is
ment for it. And then using some XSL Transformations or some other
server-side technology to transform your custom markup to correct XHTML.

Best wishes, and Happy New Year,

Rene Saarsoo
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to