在XML 中,最常用的做法是名称全部小写并加连字符,比如first-name。
The most common approach to XML is to use all lowercase names with dashes, like first-name.
所有名称都使用驼峰式大小写(即每个单词的首字母大写),而不使用分隔字符。
All names use camel case (uppercasing the first letter of each word) rather than separator characters.
通过把名称放在双引号中,可以避开这些规则,使用双引号允许名称区分大小写以及包含附加字符(包括空格)。
You can escape these rules by placing the name in double quotation marks, which allows names to be case sensitive and to include additional characters (including spaces).
有效的名称只能包含小写字母、数字、点号、下划线和连字符。
A valid name can contain only lowercase letters, Numbers, periods, underscores, and dashes.
在这个例子中,它将名称的首字母大写,其它的字母保持小写,然后用修改过的字符串作为新的名称值。
In this example, it converts the first character of the name to uppercase, and the remaining characters to lowercase, and then USES that modified string as the new name value.
语言环境名称是这样组成的:小写的两字母iso语言代码,可选地,后面可以跟下划线或连字符以及大写的两字母iso国家或地区代码。
A locale name is constructed from a two-letter lowercase ISO country code, optionally followed by an underscore or hyphen and a two-letter uppercase ISO language code.
记录存储的名称最多可以包含32个字符,并且所有字符都是大小写敏感的。
A name may consist of up to 32 characters, and all characters are case sensitive.
软件包本身的名称(不是文件名,仅仅是软件包的名称)可以包含小写字母、数字以及“-”和“+”字符。
The name of the package itself (not the filename, just the name of the package) can contain lowercase letters, Numbers, and the "-" and "+" characters.
表示小写字母的字符分类名称。
对指定的所有XML名称,使用“UCC大小写混合(camelcase)”并且在单词之间没有空格或者连字符。
Use "UCC camel case" with no Spaces or hyphens between words for all XML names assigned.
对指定的所有XML名称,使用“UCC大小写混合(camelcase)”并且在单词之间没有空格或者连字符。
Use "UCC camel case" with no Spaces or hyphens between words for all XML names assigned.
应用推荐