Listing 4: Target and source namespaces.
清单4:目标名称空间和源名称空间。
Listing 5: Multiple source namespaces, importing a namespace.
清单5:多个源名称空间,导入一个名称空间。
In this article, we refer to those namespaces as source namespaces.
在本文中,我们称这些名称空间为源名称空间。
Each schema has one target namespace and possibly many source namespaces.
每个模式都有一个目标名称空间,但可能有多个源名称空间。
And second, I'm doing something you should never do: declaring multiple namespaces in one source file.
第二,我做了您绝对不应该做的事情:在一个源代码文件中声明多个名称空间。
It contains attributes that describe the namespaces used in the source WSDL files.
它所包含的属性描述了源wsdl文件中所用的命名空间。
The use of aliases is my preferred method for using namespaces for two reasons: First, if I later rename the namespace, I only have one line of code to change per source file.
由于两个原因,我喜欢对名称空间使用别名:首先,如果以后要改变名称空间,在每个源代码文件中只有一行需要修改。
The third and final source of problems this article covers is the use of XML namespaces.
本文中第三个也是最后一个问题的来源是XML名称空间。
The first issue is that Atom uses namespaces within the source XML document, so you must declare the Atom namespace to extract the information correctly.
第一个问题是Atom使用源XML文档中的名称空间,因此必须声明 Atom名称空间来正确提取信息。
An attribute contributes information to the assembly's metadata, which is not meaningful for source classifiers such as namespaces.
特性向程序集的元数据提供信息,这对于源分类器(如命名空间)并无意义。
An attribute contributes information to the assembly's metadata, which is not meaningful for source classifiers such as namespaces.
特性向程序集的元数据提供信息,这对于源分类器(如命名空间)并无意义。
应用推荐