Elements are case sensitive | Page 6 of 10 |
这里说的是:XML是一种“强类型标记语言”(区分大小写)
XML elements are case sensitive.In HTML, <h1> and <H1> are the same; in XML, they\'re not. If you try to end an <h1> element with a </H1> tag, you\'ll get an error. In the example below, the heading at the top is illegal, while the one at the bottom is fine.
<!-- NOT legal XML markup --> <h1>Elements are case sensitive</H1> <!-- legal XML markup --> <h1>Elements are case sensitive</h1>
