我们可以在XML文件中使用数字作为文本节点吗?例如
<2>Zen 2>
它给出的错误如下
XML元素必须遵循以下命名规则:
* Names can contain letters, numbers, and other characters * Names cannot start with a number or punctuation character * Names cannot start with the letters xml (or XML, or Xml, etc) * Names cannot contain spaces
http://www.w3schools.com/xml/xml_elements.asp