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

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

Subject: Re: Case usage in element names, attribute names & attribute values
From: Betty Harvey <harvey@xxxxxxxxxxxxxxxxx>
Date: Fri, 24 Apr 1998 19:10:42 -0400 (EDT)
case usage
I think I can answer this question - it is because of conditioning and
upbringing of traditional SGML.  SGML normally isn't case sensitive.
SGML authoring tools make the tags either upper or lower case.

I hate to admit the number of hours I have wasted wondering why the
XSL style sheet wasn't working because I forgot about case sensitivity.
I would like to think that I am not that dense but when I am working
with SGML case sensitivity seems to go out of my mind |-).

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                           | Phone: 301-540-8251 FAX: 4268
Electronic Commerce Connection, Inc.   | 
13017 Wisteria Drive, P.O. Box 333     | RAILROAD: www.eccnet.com/rif
Germantown, Md.  20874                 |
harvey@xxxxxxxxxxxxxxxxx               | Washington,DC SGML Users Grp
URL:  http://www.eccnet.com            | http://www.eccnet.com/sgmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  



On Fri, 24 Apr 1998, Rob McDougall wrote:

> 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
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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-2013 All Rights Reserved.