The first involves adding it to appinfo tags in the constraint schema.
第一种策略是将元数据添加到约束模式中的appinfo标记中。
Sometimes, Schematron constraints are contained within an XML Schema document, usually within XML Schema appinfo elements.
有时候,Schematron约束包含在XML模式文档中,常常在XML模式的appinfo元素中。
It is also required to import the appinfo schema on the last line of Listing 1, which declares the elements used inside the XSD: appinfo element.
它也需要在清单1的最后一行导入appinfo架构,用于声明xsd: appinfo元素中使用的所有元素。
I prefer this strategy over the technique of adding additional data to XML Schema appinfo structures, since external forms can easily maintain this information.
与在XMLSchemaappinfo结构中添加额外数据相比,我更喜欢这种策略,因为外部表单可以轻松地维护这些信息。
A NIEM schema document must contain an XSD: annotation element that has a description (in XSD: documentation) and an indicator that it is NIEM conformant (in XSD: appinfo).
NIEM架构文档必须包含一个xsd:annotation元素(具有一个描述,在xsd:documentation中)和一个指示器(指出它是遵循niem的,在xsd:appinfo中)。
For example, Listing 16 shows how to include a customized error message in the "appinfo" element inside an annotation and use "documentation" to provide additional information about the message.
比如,清单16展示了如何在一个标注内的“appinfo”元素中包括一个定制的错误消息,并使用“documentation”提供有关该消息的额外信息。
For example, Listing 16 shows how to include a customized error message in the "appinfo" element inside an annotation and use "documentation" to provide additional information about the message.
比如,清单16展示了如何在一个标注内的“appinfo”元素中包括一个定制的错误消息,并使用“documentation”提供有关该消息的额外信息。
应用推荐