XML Naming Rules
XML命名規(guī)則
XML elements must follow these naming rules:
XML元素命名必須遵循如下規(guī)則:
- Names can contain letters, numbers, and other characters
- Names must not start with a number or punctuation character
- Names must not start with the letters xml (or XML, or Xml, etc)
- Names cannot contain spaces
- 可以使用包括字母、數(shù)字和其他字符;
- 不能以數(shù)字或者標(biāo)點(diǎn)符號(hào)開頭;
- 不能以字串“xml”,或者“XML”、“Xml”之類開頭;
- 不能包含空格。
Any name can be used, no words are reserved.
由于XML沒有任何保留字,因此任何名稱都可以使用。