OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:dalapeyre@mulberrytech.com
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
======================================================================


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]