Re: Case usage in element names, attribute names & attribute values

Frank Boumphrey (bckman@ix.netcom.com)
Fri, 24 Apr 1998 20:05:16 -0700


Personally I prefer all upper or all lower case. I forever seem to be
forgetting to capitalize a letter in camelback notation!!

Frank
-----Original Message-----
From: Rob McDougall <RMcDouga@JetForm.com>
To: 'xsl-list@mulberrytech.com' <xsl-list@mulberrytech.com>
Date: Friday, April 24, 1998 3:27 PM
Subject: Case usage in element names, attribute names & attribute values

>I've been looking through many of the established XML grammars, and am
>left with a question. Why do all the grammars appear to be in
>lower-case? Since xml has become case-sensitive, it would seem to me
>that people would adopt one of the popular conventions used in other
>case-sensitive applications like programming languages. Why haven't I
>seen any grammars that look like this:
>
><TagName AttributeName="EnumeratedAttributeValue"/>
>
>If someone were to create a grammar that mixed upper-case and lower-case
>would they have trouble getting people to adopt it? Is there a
>compelling reason to reject a mixed case grammar. To my eye, mixed case
>is more attractive. It's more like natural English.
>
>So, what are the opinions on each of:
>- tag names (lowercase, uppercase, mixed-case)
>- attribute names (lowercase, uppercase, mixed-case)
>- enumerated attribute values (lowercase, uppercase, mixed-case)
>
>And with each option, are there opinions on any punctuation? Hyphens,
>underscores, nothing?
>
>Thanks in advance,
>
>Rob
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>