【发布时间】:2013-09-29 05:48:56
【问题描述】:
让我们考虑这个 xml 数据
<root xmlns:h="http://www.w3.org/TR/html4/"
xmlns:f="http://www.w3schools.com/furniture">
<h:table>
<h:tr>
<h:td>Apples</h:td>
<h:td>Bananas</h:td>
</h:tr>
</h:table>
<f:table>
<f:name>African Coffee Table</f:name>
<f:width>80</f:width>
<f:length>120</f:length>
</f:table>
</root>
这里是 H 的 NURI:“http://www.w3.org/TR/html4/”
f 的 NURI:“http://www.w3schools.com/furniture”
NURI(Namespace URI) 到底是什么意思?有必要吗?。它实际上包含什么?
【问题讨论】:
-
@andrewb 没关系。我在问 NURI?
标签: xml xml-namespaces