Of course...I didn't see that.  Now I understand why it was written as
<!ATTLIST td
      nowrap       (nowrap)                 #IMPLIED
      bgcolor      %Color;                  #IMPLIED
      width        %Pixels;                 #IMPLIED
      height       %Pixels;                 #IMPLIED
>
in the XHTML DTD.
It all now makes perfect sense.
Thanks much,
Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>


| -----Original Message-----
| From: Ian Roberts [mailto:[EMAIL PROTECTED]
| Sent: Thursday, July 19, 2001 4:34 AM
| To: [EMAIL PROTECTED]
| Subject: Re: Schema attributes
|
|
| On Wed, 18 Jul 2001, Matthew L. Avizinis wrote:
|
| > Does Xerces's implementation of the Schema CR allow for any way
| to define an
| > element attribute without any associated value, e.g. in a way
| similar to <td
| > nowrap> in html?
|
| No.  It's not due to the Schema spec - <td nowrap> is not well formed XML,
| since, in XML, attributes have to have a value.  The XHTML way of
| expressing this construct is <td nowrap="nowrap">, which is well-formed.
|
| Ian
|
| --
| Ian Roberts, Software Engineer        DecisionSoft Ltd.
| Telephone: +44-1865-203192            http://www.decisionsoft.com
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to