W3C home > Mailing lists > Public > www-html@w3.org > March 2000

Re: XHTML : "attribute minimization", terseness of.

From: Nir Dagan <nir@nirdagan.com>
Date: Thu, 02 Mar 2000 10:47:37 -0500
Message-Id: <200003021545.KAA04240@vega.brown.edu>
To: "Sean Champ" <symmetry_web@email.msn.com>, <www-html@w3.org>
At 07:36 AM 3/2/00 -0800, Sean Champ wrote:
>  in re. section 4.5 at
>http://www.w3.org/TR/xhtml1/
>
>can we use boolean values like
><dl compact="1">
>
>instead of redundant ones like
><dl compact="compact">

No you can't since the value "1" is not allowed in the DTD:

<!ELEMENT dl (dt|dd)+>
<!ATTLIST dl
  %attrs;
  compact     (compact)      #IMPLIED
  >

The above DTD fragment is from:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

>
>
>?
>
>
>--Sean Champ
> 
===================================
Nir Dagan
Assistant Professor of Economics
Brown University 
Providence, RI
USA

http://www.nirdagan.com
mailto:nir@nirdagan.com
tel:+1-401-863-2145
Received on Thursday, 2 March 2000 10:45:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT