这个示例的目的是,演示如何结合使用本文介绍的技术创建可以解析任何良构XML文档的基本映射。
The purpose of this example is to show you how to combine the techniques described in this article to create a basic map that can parse any well-formed XML document.
正如前面提到的,DB 2允许用户在XML数据类型的任何列中存储任何良构的XML文档。
As we've already noted, DB2 enables users to store any well-formed XML document in any column defined on the new XML data type.
良构的XML文档是一个树的文本表示。
Recall that a well-formed XML document is the textual representation of a tree.
您应能够编写良构的XML 1.0文档。
结果是一个包含两个元素(customerinfo和phone)的XML序列,这不是良构的文档。
The result is an XML sequence of two elements (customerinfo and phone) which is not a well-formed document.
响应以良构的XML文档结构返回。
The response is returned in a well-formed XML document structure. Now let us dissect the response
用形式化的方法描述了XML文档模型,并提供了一系列规则来保证模型描述的XML文档的良构性。
XML document model is described by formal method. Some rules are provided to guarantee that the described documents are well-formed.
用形式化的方法描述了XML文档模型,并提供了一系列规则来保证模型描述的XML文档的良构性。
XML document model is described by formal method. Some rules are provided to guarantee that the described documents are well-formed.
应用推荐