数据实例是任意的xml块。
数据实例序列化为多部分的相关数据。
清单1是休假申请数据实例的一个示例。
Listing 1 is an example of the leave application data instance.
企业应用程序接收表单数据实例以进行处理。
The enterprise application receives the forms data instances for processing.
每个数据模型必须包含一个或多个数据实例。
在一个XML数据模型中可以有多个数据实例。
You can have more than one data instance in an XML data model.
根据这个示例,清单15中的数据实例是有效的。
The data instance in Listing 15 is valid given this example.
已经创建了数据实例并在这个实例中添加了元素。
You have created the data instance and added elements to this instance.
如果希望提交其他数据实例,那么必须指定实例ID。
If you want to submit other data instances, you must specify the instance IDs.
这个提交规则定义提交哪个数据实例,以及如何提交。
This submission rule defines which data instance is submitted and how it is submitted.
生成的模式允许清单5中的数据实例成功验证。
The combined resulting schema allows the data instance in Listing 5 to validate successfully.
gizmo类定义数据实例,并包含如下元素和方法。
The Gizmo class defines a data instance and contains these elements and methods.
执行这个步骤的方法是将元素和属性添加到数据实例中。
You do this by adding elements and attributes to the data instance.
数据实例用url编码序列化并追加到指定url之后。
The data instance is serialized with URL encoding and appended to the specified URL.
在这个例子中,我们向您介绍如何从模式中创建数据实例。
In this case, we show you how to create a data instance from a schema.
清单7中的数据实例对这个模式及其替换群扩展是有效的。
The data instance in Listing 7 is valid with this schema and its substitution group extensions.
数据(信息)状态意味着需要对数据实例的状态进行管理。
Data (information) state means that the state of data instances needs to be managed.
如果有多个数据实例,那么必须为每个实例定义惟一的ID。
If there is more than one data instance, you must define unique IDs for each instance.
现在,已经创建了表单元素和数据实例中数据节点之间的关系。
You have finished creating the relationship between the items on the form and the data node in the data instance.
然后,会看到表单中添加的XML数据模型和默认的数据实例。
You then see that an XML data model and a default data instance are added to the form.
在本文中,我们使用默认数据实例(即instance1)。
In this article, we use the default data instance (that is, instance1).
根据业务逻辑生成XForms数据实例和XForms绑定。
Generate the XForms data instance and XForms binding based on the business logic.
“DATA”是存储 TAX1120XML数据实例的列。
The "DATA" is the column that stores the TAX1120 XML data instance.
只有在相关模式的最高层定义的元素才可以充当数据实例中的根元素。
Only elements defined at the highest level in the associated schema can serve as root elements in a data instance.
接下来,将数据实例中的每个数据节点绑定到表单上的XFDL元素。
Next, bind each data node in the data instance to the XFDL items on the form.
在前一节中,学习了如何创建XML数据模型和数据实例(默认实例)。
In the previous section, you learned how to create an XML data model and data instance (the default instance).
当数据实例中出现元素时,数据处理需要对这个通用元素进行特殊处理。
Processing this data requires special handling of the generic element when it occurs in the data instance.
在提交规则的submissions属性中定义要提交哪些数据实例。
Which data instance to be submitted is defined in the submissions properties of the submission rule.
提交规则控制将哪些数据实例传输给进行处理的应用程序,以及如何传输。
The submissions rules control how and which data instance can be transmitted to the application for processing.
模型将验证置于数据实例中以实现自我验证,而不是依赖服务器验证信息。
By placing the validation in the data instance, the model should validate itself rather than rely on the server to validate the information.
应用推荐