← Prev in month ← Prev in thread

DTD Formatting: Attribute list Alignment

From
Deborah Aleyne Lapeyre <>
Date
2004-08-24T16:40:03+00:00
ID
a05200f16bd51197b31c8@[10.83.254.233]
Thread
DTD Formatting: Attribute list Alignment
Suggest:
   1) one attribute per line

   2) Fixed column position for Declared value

   3) Align Default value (could be left aligned or right
      aligned as shown below)

   3) If attribute name too long, wrap to next line

   4) Decide on single versus double quotes and use them
      consistently

<!ELEMENT  foo  (bar+)                                           >
<!ATTLIST  foo
              foo-type   CDATA                          #IMPLIED
              %dtd-vers;
              xml:lang   NMTOKEN                            "EN"
              status     (live | dead | phooie)           "dead"
              foo-customization
                         CDATA                         #REQUIRED  >




-- 
======================================================================
Deborah Aleyne Lapeyre               mailto:
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9633
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in XML and SGML
======================================================================
← Prev in month ← Prev in thread