数据实例是任意的xml块。
企业应用程序接收表单数据实例以进行处理。
The enterprise application receives the forms data instances for processing.
已经创建了数据实例并在这个实例中添加了元素。
You have created the data instance and added elements to this instance.
这个提交规则定义提交哪个数据实例,以及如何提交。
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.
可以使用清单1中的模式来成功地验证以下数据实例。
You can use the schema in Listing 1 to validate the following data instance 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.
清单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.
根据业务逻辑生成XForms数据实例和XForms绑定。
Generate the XForms data instance and XForms binding based on the business logic.
在将数据实例链接到Submit按钮之前,需要先完成一些步骤。
Before you proceed to link the data instance to the Submit button, you need to complete some steps first.
只有在相关模式的最高层定义的元素才可以充当数据实例中的根元素。
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.
如果多组属性包含任何可以保存多个数据实例的属性,我将称之为多值属性。
If the multigroup attribute contains any property that can hold multiple data instances, I will call that multivalue attribute.
这些文本应该是人可阅读的,用来向正在操纵数据实例的最终用户进行说明。
This text is likely to be human-readable, targeted at some end user who is manipulating the data instance.
在下一个设备同步过程中,将可用的表单数据实例发送到服务器以进行处理。
During the next device synchronization, the available forms data instances are sent to the server for processing.
我们可以这样说,使用来自清单1中的数据实例,一次只需要显示一行数据。
Let's say that, using the data instance from Listing 1, we want only one row of data to be presented at a time.
ZRM框架将自动创建一个支持数据库来存储这个模型定义的数据实例。
The ZRM framework will automatically create a backing database to store data instances of this model definition.
为了创建完整的XML数据模型,需要三个元素——数据实例、绑定和提交规则。
To create a complete XML data model, you need three elements — data instances, bindings, and submission rules.
如果显式地声明数据实例,可用它来定义默认值,只要将默认值放在字段元素中即可。
If you explicitly declare a data instance, you can use it to define default values simply by putting them inside the field elements.
应用推荐