W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2004

Re: Element names guidelines

From: Frans Englich <frans.englich@telia.com>
Date: Thu, 18 Nov 2004 15:09:15 +0000
To: xmlschema-dev@w3.org
Message-Id: <200411181509.15632.frans.englich@telia.com>

On Thursday 18 November 2004 14:55, W. Eliot Kimber wrote:
> Frans Englich wrote:
> > Hello,
> >
> > At the risk of starting a flamefest, I wonder: What is the best naming
> > conventions for elements and attributes? A crucial question in modeling
> > XML formats.
> >
> > Assuming the phrase "car description" should be translated to an element
> > name, and the criteria for judgment are easy to type and readability,
> > there exist a number of different alternatives:
>
> I prefer underscore for word breaks: car_description

Why underscore instead of dash(-)? I would say a dash is easier & faster to 
type, otherwise they're pretty similar.


Cheers,

		Frans
Received on Thursday, 18 November 2004 15:02:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC