← Prev in month
← Prev in 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