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

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 UTC