ATTLIST Declaration Problem

From: Ahmad, B. (b.ahmad@ic.ac.uk)
Date: Thu, Aug 12 1999


Date: Thu, 12 Aug 1999 09:41:25 -0400 (EDT)
Message-ID: <0846B011B9A4D111A1EE006097DA4FCE01DF9420@icex1.cc.ic.ac.uk>
From: "Ahmad, B." <b.ahmad@ic.ac.uk>
To: "'www-validator@w3.org'" <www-validator@w3.org>
Subject: ATTLIST Declaration Problem

I want to allow the <img> element to take an additional attribute called
"name". I have set the following declaration,

<!attlist img name cdata #implied>

but I am not sure whether I have placed it in the correct location, and, as
a result, the name attribute within the <img> element is not recognised by
W3C's validator.

Does anyone have any suggestions as to how to solve this problem? Thanks.

B. Ahmad