If element substitution is imperative to your design or you need to make elements transparent to other schemas, use the Salami slice style or Garden of Eden.
如果元素替代对于您的设计很重要,或者您需要让元素对其他模式是透明的,那么请使用Salamislice风格或Gardenof Eden。
For example, there are multiple ways to describe values from a set that may vary: xs: choice, element substitution groups, abstract elements, abstract types, and many more.
例如,有多种方法来描述一个集合中的值,这个集合可以是多种多样的:xs:choice、元素替代组、抽象元素、抽象类型以及更多。
What makes this example extensible is that the schema developer only has to add a new element declaration indicating that it is a member of the substitution group.
这个示例的扩展点是模式开发人员必须添加一个新的元素声明来表明它是替换群的一个成员。
In this example, the substitution group element types, and so on are allowed anywhere the element is-in this case, inline in the text of the paragraph.
在这个示例中,替换群元素类型、等允许位于元素所在的任何位置—在本例中为段落的文本行内。
They then traverse a substitution chain of element declarations or a type hierarchy to determine whether the element declaration satisfies the substitution or type derivation requirements.
然后遍历元素声明的代替链或类型层次结构,以决定元素声明是否满足代替或类型衍生要求。
Perhaps the easiest way to extend NIEM is through the use of substitution groups, which allow you to declare your own element and specify that it is substitutable for a NIEM element.
也许扩展NIEM最容易的方式是通过使用置换组来做到,置换组允许您声明自己的元素和指定它是NIEM元素的替代。
If you navigate to the Detailed view in Test Element Details, you can add a data substitution for each value contained in the request.
如果您导航到TestElementDetails中的Detailed视图,那么您可以为请求中包含的每个值添加数据替换。
Whatever names they use, they all match the path expression based on their substitution group head element.
不管使用哪个名称,它们都匹配基于它们的代替组head元素的路径表达式。
By declaring an element or type to be abstract, XML Schema provides a mechanism to force substitution for it.
通过声明抽象的元素或者类型,XMLSchema提供了一种强制替换机制。
Both functions require that the provided schema documents declare or define the instance element to be tested and the substitution group head element or the referenced type.
两个函数都要求提供的模式文档声明或定义要测试的实例元素,以及代替组head元素或引用类型。
The character is replaced by a substitution character before parsing takes place, and results in the element tag name throwing a SQL error code "16110 XML Syntax error.
在解析之前,该字符被一个替换字符替代,导致元素标记名称抛出一个SQL错误代码 "16110XMLSyntax error.
If the XPath expression on the test attribute has evaluated to true, then the specified type is selected as a substitution for the one declared on the element.
如果test属性上的XPath表达式最终值为true,那么将选择指定的type替换元素中声明的类型。
It returns true if the element in the instance document is declared to be in the substitution group headed by the element identified by the element QName.
如果实例文档中的元素被声明为位于以元素QName指定的元素为首的代替组中,则返回true。
Schema-element (Person) matches an element node which is declared to be in the substitution group headed by the Person element.
schema -element (Person)匹配一个元素节点,该节点必须在以Person开头的代替组中声明。
Of course, the block of element declarations that are substitution group members can be managed in a schema module that is stored separately and included in a main schema.
当然,作为替换群成员的元素声明块可以在一个单独存储并包含在一个主模式中的模式模块中管理。
The construct schema-element matches elements that are declared to be in the substitution group of the head element specified in the construct.
构造schema - element匹配在构造指定的头元素的替代组中声明的元素。
The construct schema-element matches elements that are declared to be in the substitution group of the head element specified in the construct.
构造schema - element匹配在构造指定的头元素的替代组中声明的元素。
应用推荐