[thelist] Adding attributes for tags
Matt Warden
mwarden at gmail.com
Mon Jul 11 19:55:06 CDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
raanders at mailporter.net wrote:
> I've modified Peter's defaults to use two "new" attributes -- chk and
> emsg. I'm not getting
> Line 62, column 25: there is no attribute "chk"
> stuff. I'm using a DOCTYPE of xhtml1 transitional so these should not
> be coming up -- to my understanding.
>
> So I thought "There has got to be a way to declare these" so the
> document passes. My understanding of XML and friends is still a little
> sketchy but I think there should be a way to do this.
>
> Pointers, directions, or search terms would be appreciated.
If I understand your problem correctly, you could add the attributes
via JavaScript and DOM.
See:
http://www.devguru.com/Technologies/xmldom/quickref/element_setAttribute.html
- --
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com
This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFC0xTqAQ0d4HGyPE8RAq/AAJoDwdRm9Fr3KS4Co79nSLHSKv6BLACeMLJI
g3B90+CAnvsXW8PH1ejx/lA=
=LnvZ
-----END PGP SIGNATURE-----
More information about the thelist
mailing list