在局部作用域内引用全局元素和属性。
Referencing global elements and attributes in a local scope.
清单8.全局元素实例。
指导原则12声明优先使用全局类型而不是全局元素。
Guideline 12 states a preference for global types over global elements.
这个算法的限制是局部元素不能声明为与全局元素同名。
The constraint of this algorithm is that a local element is not allowed to be declared with the same name of a global element.
不需要从全局元素映射到 FileNet中的构造。
There are no mappings from global elements to constructs in FileNet.
相应的EMF模型识别清单8中的全局元素实例。
The corresponding EMF model recognizes the global element instance Listing 8 shows.
如果没有,向导将退出,并弹出消息,指示模式没有全局元素。
If it is absent, the wizard exits with a popup message stating that the schema has no global element.
将UM l类映射为全局元素,将UM l属性映射为本地元素。
It maps UML classes to global elements and UML attributes to local elements.
具有全局元素的映射只能通过从另外的映射中调用它们来进行测试。
Maps with global element inputs can only be tested by calling them from another map.
不过,没有全局元素的模式对xml有效负载生成和验证用处不大。
However, a schema without global elements is not much useful for XML payload generation and validation.
您可以使用全局元素作为根节点,并且可以从模式的其他部分引用它们。
You can use global elements as root nodes and can reference them from other parts of the schema.
您将用这个构造型标记一个或多个类,样式表把它们作为全局元素实现。
You will mark one or more classes with the stereotype, and the stylesheet will implement them as global elements.
还需要注意的是,响应消息的根元素就是按照包括的复杂类型命名的全局元素。
Again, notice how the root element of the response message is the global element that is named after the contained complex type.
注意,此消息的根元素相当于我们先前在服务接口文件中看到的全局元素定义。
Notice how the root element of this message is equal to the global element definition we looked at earlier in the service interface file.
要为图书列表RESTWeb服务创建两个消息,您需要创建两个全局元素。
To create the two messages for the book list REST Web service, you need to create two global elements.
有时候,会仅在XML模式中定义全局级别的类型,而不定义任何全局元素。
Sometimes only global-level types are defined in an XML schema without any global element defined.
清单2显示每个WSDL消息有两个WSDL部分,每个部分引用一个全局元素。
Listing 2 shows that each WSDL message has two WSDL parts and each part refers to a global element.
扩展该类型定义,以包括对X Forms select全局元素定义的引用。
Extend this type definition to include a reference to the XForms global element definition for select.
请注意:要使用BOFactory创建数据对象,必须定义复杂类型或全局元素。
Note: to use the BOFactory to create a data object, you must define either a complex type or a global element.
全局元素是XML模式文档中作为模式元素的子元素来声明的元素,而局部元素却不是。
Global elements are element declarations that appear as children of the schema element in an XML schema document, whereas local elements are not.
事实上使用全局元素和本地元素背后有一套非常复杂的理论,请参阅参考资料。
In fact, there's a sophisticated theory behind the use of global and local elements — see Resources.
最后一个问题是,购买订单本身在入门中是作为一个全局元素声明的,属于全局复合类型。
The final issue is that the purchase order itself is defined in the primer as a global element declaration, with a global complex type.
这里使用的算法首先沿着来自实例元素的父轴向后遍历,直到遇见一个全局元素。
Here, the algorithm used first traverses back along the parent axis from this instance element all the way to an element that is found to be a global element.
但是,默认的情况是,EMF代码生成器只为全局元素生成映射条目,而不为局部元素生成。
However, by default, the EMF code generator only generates mapping entries for global elements, not for local elements.
如果这样的模式已经存在,则编绎器导入该X MLSchema中所有的全局元素声明。
If such a schema exists, then the compiler imports all global element declarations in the XML schema.
模型模板选择带有root构造型的类声明为全局元素,其他的类声明为本地元素。
The template for model selects the classes with the root stereotypes to declare as global elements; other classes will be declared local.
对于多数应用程序而言,都希望隐藏全局元素和本地元素以及元素和属性之间的区别。
For most applications, you want to bury the differences between global and local elements, as well as between element and attributes.
最后,WS - Addressing揭示了一组全局元素声明,标准期望用户复用这些声明。
Finally WS-Addressing exposes a set of global element declarations, which are the elements that the standard expects users to reuse.
未将全局元素作为根输入的映射通常作为Submap使用,可以通过在父映射中对其进行调用来测试。
Maps that do not have a global element as the root input are typically used as Submaps and can be tested by calling them through a parent map.
具体而言,这里只能使用全局元素(直接定义在schema元素下,通过ref属性来引用)。
Specifically, you must use global elements (defined directly under the schema element and referred to by the ref attribute).
应用推荐