Namespaces also allow different elements with the same name to have different definitions, if necessary.
如有必要,名称空间还允许相同名称的不同的元素具有不同的定义。
A namespace collision occurs when two or more elements from two or more XML formats have the same name.
当来自两个或多个xml格式的两个或多个元素的名称相同时,名称空间冲突就会出现。
You can have elements or attributes with the same local name, but different namespaces.
元素或属性可以具有相同的本地名称,但是必须使用不同的名称空间。
But when you add the wrapped pattern to WSDL, you require an element to have the same name as the operation, and you cannot have two elements with the same name in XML.
但是当您添加包装的样式到WSDL时,需要元素有与操作相同的名称,并且在XML中不能有两个名称相同的元素。
Do not assign the same alias name for different design elements.
不对不同的设计元素使用相同的别名。
Using namespaces you can avoid ambiguities concerning elements with the same local name.
使用名称空间,就可以避免具有相同本地名称的元素所带来的不确定性。
If the information is suitable for attribute form, but could end up as multiple attributes of the same name on the same element, use child elements instead.
如果信息适合采用属性的形式,但可能造成同一元素中有多个同名的属性,则改用子元素。
For other elements, add these same two messages again, change PrimaryData to the base name of your property, and add TagCloudDataType to the type for your property.
对于其他元素,再添加这两条相同的消息,并将PrimaryData更改为您的属性的基本名称,然后将TagCloudDataType添加到属性的类型。
The XML snippet in Listing 5 is the same logical document as the one you see in Listing 4. XMLUnit doesn't consider them identical, however, because the name and id elements are swapped.
清单5中的XML片段与清单4中所示的 XML 片段有相同的逻辑文档。但 XMLUnit并不认为二者是相同的,原因是二者的name和id元素是颠倒的。
Certainly, you can have multiple elements with the same name but different meanings in a single document.
当然,在一个文档中也可以有多个名称相同但含义不同的元素。
If an element contains more than one sub-element of the same name, those sub-elements will be turned into an array property.
如果一个元素包含多个相同名称的子元素,这些子元素将转换为一个数组属性。
In some scenarios where a service requires information from several sources, there may be redundant data elements with the same name or an implied definition.
在某些场景中,一个服务需要从多个信息源获得信息,这些信息源可能包含同名的重复数据元素,数据元素还可能有隐含的定义。
These are automatically set by the server to the values from the form elements of the same name, which become HTTP POST query arguments.
这些参数是由服务器根据同名表单元素中的值自动设置的,它们变成了HTTPPOST查询参数。
How do you distinguish the XHTML elements from the host vocabulary elements of the same name?
如何从同名的宿主词汇表元素中区分XHTML元素呢?
Moreover, in a single document, they may need to separately refer to elements with the same name that are created by different parties.
此外,他们还可能在一个文档中引用不同团体创建的同名元素。
Create a link from the element row on the left to the element row on the right, so that Studio will create a mapping for all elements with the same or similar name for source and target.
创建一条从左侧的元素行到右侧的元素行的链接,这样Studio就可以使用与源和目标同样或者相似的名称来创建一个到所有元素的映射。
However, in this case you don't know which name elements come from the same department document.
但在这个示例中,您并不知道哪些name元素来自同一个department文档。
Namespaces prevent element and attribute name collisions, and allows elements and attributes of the same name to be handled differently and validated differently.
命名空间可用来避免项目和属性名称发生冲突,并让相同名称的项目和属性以不同方式处理和验证。
Namespaces prevent element and attribute name collisions, and allows elements and attributes of the same name to be handled differently and validated differently.
命名空间可用来避免项目和属性名称发生冲突,并让相同名称的项目和属性以不同方式处理和验证。
应用推荐