[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Element names guidelines

From: W. Eliot Kimber <ekimber@innodata-isogen.com>
Date: Thu, 18 Nov 2004 09:45:14 -0600
Message-ID: <419CC38A.7090107@innodata-isogen.com>
To: xmlschema-dev@w3.org
xml hyphenated element names

Frans Englich wrote:

> On Thursday 18 November 2004 14:55, W. Eliot Kimber wrote:
>
>>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.

Because dash needs to be usable for hyphenated words used as part of tag 
names.

It's also more consistent with usage in most programming languages, 
where "-" cannot be used as a name character.

Cheers,

E.
Received on Thursday, 18 November 2004 16:51:03 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.