【发布时间】:2021-01-02 00:19:37
【问题描述】:
元素名称中允许使用符号:连字符-、下划线_ 和句点.。
XML 示例有效。
<?xml version="1.0" encoding="UTF-8"?>
<student>
<first-name>George</first-name>
<phone.mobile>(011) 123-4567</phone.mobile>
<native_language>English</native_language>
<city />
</student>
XML 元素名称中是否还有其他符号?
【问题讨论】:
-
你肯定可以谷歌/必应这个问题吗?请看:How much research effort is expected of Stack Overflow users?
标签: xml