sorry if this is an infantile question - scouring an html to xhtml
conversion is not something I often do :-(
QUESTION:
does anyone know how we can add a new ELEMENT to an existing w3
dtd - or tell the doctype to add it or use an additional dtd in
the doctype etc. etc. etc.
BACKGROUND:
anyway - we have a pseudo tag we use for some indexing control on
a site - the tag-set is placed in the head section of an xhtml 1.0
transitional doc.
the w3 validator complains about the tag (and its attribute) when
it appears in the head section of the page - of course - but I
cannot seem to figure out how to add an element such that it will
be allowed in the head section.
have tried things like...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
[
<!ELEMENT ourtag EMPTY>
<!ATTLIST ourtag
id CDATA #REQUIRED
>]>
.... and have even tried redefining the head element to include the
ourtag element etc.
nothing seems to work in a way that allows the validator to succeed
thanks!
p.s. - OH!! Hi y'all!! :-))
--
Horace ...once known as "Kicker" :-)
================================================== ==============
....drop by and chat if I'm online http://www.hav.com/chat/
....or chuckle at a little left hand
fingertip torture http://www.hav.com/junk/
After silence, that which comes nearest to expressing the
inexpressible is music - Aldous Huxley, "Music at Night", 1931
.... and that which comes nearest to explaining the inexplicable
is my insistence on trying to play it - hav '06 :-))
================================================== ==============
Horace Vallas hav.Software http://www.hav.com/
4660 Francisco Rd. ha*@hav.com
Pensacola, Fl. 32504
USA 850-207-7009
Thawte Web Of Trust Notary in Pensacola, Fl.
http://www.hav.com/?content=/thawteWOTnotary.htm
================================================== ==============
What is a Vet? ... He is the barroom loudmouth, dumber than five
wooden planks, whose overgrown frat-boy behavior is outweighed a
hundred times in the cosmic scales by four hours of exquisite
bravery near the 38th parallel. ... - Unknown
================================================== ==============