Many XML documents use namespaces, which are specified using a URI.
许多XML文档都使用名称空间,这些都是使用URI指定的。
These are just a few examples of how we can use namespaces to enhance our code.
还有许多例子可以演示如何使用名称空间增强代码。
Do not use namespaces as mere carriers of bits of information for related elements; use attributes instead.
不要将名称空间仅仅当作相关元素的信息位的载体使用;请将属性用于这种用途。
The Flickr XML ( Listing 1) does not use namespaces, so all you need is a simple name for the QNames in Listing 4.
FlickrXML(清单1)没有使用名称空间,因此只需要对清单 4中的 QNames 使用一个简单名称。
This is an important rule since NIEM conformant documents use namespaces and qualified data elements for all leaf-data elements.
这是一条重要的规则,因为符合NIEM的文档对于所有叶级数据元素使用名称空间和限定名。
Do use namespaces to organize types into a hierarchy of related feature areas.
使用命名空间将类型组织到相关功能区域的层次结构中。
If you do use namespaces, try to keep all of your namespace declarations on the root element, and do not override your namespace prefixes because that way lies madness.
如果您使用名称空间,请尽量在根元素位置声明所有名称空间,并且不要覆盖名称空间前缀,否则情况会非常混乱。
Case 8: Use namespaces and attributes in queries.
案例8:在查询中使用名称空间和属性。
Case 8: Use namespaces and attributes in queries.
案例8:在查询中使用名称空间和属性。
应用推荐