在 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).
应用推荐