对XML模式和文档实例的影响。
模式验证为文档实例中省略的属性和空白元素添加默认值。
Schema validation adds default values for omitted attributes and empty elements on a document instance.
以上是清单1 所示模式的一个简单的XML文档实例。
This is a simple XML document instance of the schema from Listing 1.
然后我会向您展示如何将符合该模式的具体XML文档实例绑定到这些接口。
I will show you how an actual XML instance document that conforms to this schema is then bound to these interfaces.
这种数据库比您想像的更有用,毕竟相对于模式来说,您往往更关心文档实例。
Such databases are more useful than you might expect -- after all, you tend to care more about the instance documents than the schemas.
清单11对第一个文档实例返回出生日期列表,对第二个实例却返回空白列表。
Listing 11 returns a list of birth dates for the first document instance, and an empty list for the second instance.
AssemblyStructure元素定义了XML文档实例的实际结构。
The AssemblyStructure element defines the actual structure of the XML document instance.
因此,该插件自动从数据库中检索一组示例XML文档实例(见图5,序号2)。
Therefore, the plugin automatically retrieves a set of sample XML document instances from the database (see Figure 5, Number 2).
比如,定义工作流内不同hl7CDAXML文档实例间的关系就是这样一个例子。
An example is the ability to define relationships between separate HL7 CDA XML document instances in a workflow.
该函数创建一个空文档实例,然后使用load函数读入清单1 (labels . xml)。
This function creates an empty document instance and then reads in Listing 1 (labels.xml) using the load function.
这个场景允许将HL7CDAXML文档实例提交给数据库,在那里约束被应用于XML文档实例。
The scenario allows the submission of HL7 CDA XML document instances to the database, where the constraints are applied to the XML document instances.
重点讨论如何通过数据建模设计出一个良好的XML文档,并简单介绍了一个XML文档实例。
This paper also discusses how to use this method to design a good XML document and an example is given.
因此,查询处理仅限于新模式文档实例,因为旧模式的所有实例计算where语句的结果都是false。
Hence, the query processing is limited to the document instances from the new schema, because all instances from previous schema evaluate the where statement as false.
类型II的约束评估HL7CDAXML文档实例的内容,因而避免了HL7 CDA XML文档内的不一致性。
Constraints of type II evaluate the content of HL7 CDA XML document instances and therefore avoid inconsistency within HL7 CDA XML documents.
类型III的约束允许定义约束来评估存储在不同的HL7CDAXML文档实例内的内容之间的依赖性。
Constraints of type III allow the definition of constraints to evaluate dependencies between content stored in different HL7 CDA XML document instances.
有些时候,您需要创建来自给定XML模式(XSD)的样例 XML文档实例,来自 XML 实例的模式,或者两者都要创建。
There are times that you need to create a sample XML document instance from a given XML schema (XSD), a schema from an XML instance, or both.
根据HL7CDAXML模式对HL7 CDA XML文档实例进行验证的观察,正如在之前的两种方式中所展示的,都是通过一个xml解析器进行的。
Looking at the validation of HL7 CDA XML document instances against the HL7 CDA XML schema is, in both approaches illustrated, done through an XML parser.
XMLFormsGenerator(免费):一个基于Eclipse的插件,通过它可以基于XML文档实例和Web服务描述语言(WSDL)文件生成XForm。
XML Forms Generator (FREE) : an Eclipse-based plugin that allows you to generate XForms based on an XML document instance and a Web service Description Language (WSDL) file.
这些函数首先为提供的模式文档中的实例元素查找元素声明。
The functions first look for the element declaration for the instance element in the provided schema documents.
它指定由XML实例文档引用的统一资源指示符(uri)。
It specifies the uniform resource indicator (URI) referenced by XML instance documents.
现在,假设您想要基于该模式创建一个XML文档(有时又称为实例)。
Now, say you want to create an XML document (sometimes called an instance) based on that schema.
如前所述,这一步可以保证实例文档通过验证。
As mentioned earlier, this step enables the sample instance document to successfully validate.
同一消息的有效实例文档看起来都惊人地相似。
Valid instance documents for the same message look strikingly similar to each other.
另外还定义了两个实例文档XML数据。
当更新表单元素中的数据时,会更新实例文档。
When you update the data in a form element, the instance document is updated.
此外,它有两个实例文档需要分别管理。
Plus, it has two instance documents that you'll need to manage separately.
这个责任可能会落在数据库用户身上,该用户创建XML文档(实例)或者创建定义 XML 文档结构的 XML 模式。
The responsibility may fall to a database user to create XML documents (instances) or to create the XML schemas that define the structure of the XML documents.
由前一条指导原则,模式文档和实例文档是有区别的。
As with the preceding guideline, schema documents and instance documents are distinguished.
表单操纵这些实例文档,并负责将XML提交到后端系统。
The form manipulates such an instance document and provides for the submission of that XML to a back-end system.
表单操纵这些实例文档,并负责将XML提交到后端系统。
The form manipulates such an instance document and provides for the submission of that XML to a back-end system.
应用推荐