You do this by adding elements and attributes to the data instance.
执行这个步骤的方法是将元素和属性添加到数据实例中。
You have created the data instance and added elements to this instance.
已经创建了数据实例并在这个实例中添加了元素。
Next, bind each data node in the data instance to the XFDL items on the form.
接下来,将数据实例中的每个数据节点绑定到表单上的XFDL元素。
The Gizmo class defines a data instance and contains these elements and methods.
gizmo类定义数据实例,并包含如下元素和方法。
Generate the XForms data instance and XForms binding based on the business logic.
根据业务逻辑生成XForms数据实例和XForms绑定。
If there is more than one data instance, you must define unique IDs for each instance.
如果有多个数据实例,那么必须为每个实例定义惟一的ID。
The data instance is serialized with URL encoding and appended to the specified URL.
数据实例用url编码序列化并追加到指定url之后。
You can use the schema in Listing 1 to validate the following data instance successfully.
可以使用清单1中的模式来成功地验证以下数据实例。
This submission rule defines which data instance is submitted and how it is submitted.
这个提交规则定义提交哪个数据实例,以及如何提交。
You then see that an XML data model and a default data instance are added to the form.
然后,会看到表单中添加的XML数据模型和默认的数据实例。
In Listing 14, a data instance has been added to hold the desired value of the repeat index.
在清单14中,添加了一个数据实例用来保存repeat索引的期望值。
The combined resulting schema allows the data instance in Listing 5 to validate successfully.
生成的模式允许清单5中的数据实例成功验证。
The data instance in Listing 7 is valid with this schema and its substitution group extensions.
清单7中的数据实例对这个模式及其替换群扩展是有效的。
So far, we've looked at presenting repeating structures as they exist in the XML data instance.
到目前为止,我们一直都把repeat结构看作是存在于XML 数据实例内并加以呈现的。
Another method is to use an XForms button, which allows only the data instance to be submitted.
另一种方法是使用XForms按钮,仅允许提交数据实例。
Which data instance to be submitted is defined in the submissions properties of the submission rule.
在提交规则的submissions属性中定义要提交哪些数据实例。
XForms is an XML-based electronic forms technology that can submit form data as an XML data instance.
XForms是一种基于XML 的电子表单技术,它可以将表单数据提交为XML 数据实例。
Before you proceed to link the data instance to the Submit button, you need to complete some steps first.
在将数据实例链接到Submit按钮之前,需要先完成一些步骤。
Processing this data requires special handling of the generic element when it occurs in the data instance.
当数据实例中出现元素时,数据处理需要对这个通用元素进行特殊处理。
This text is likely to be human-readable, targeted at some end user who is manipulating the data instance.
这些文本应该是人可阅读的,用来向正在操纵数据实例的最终用户进行说明。
More specifically, you saved a form into a DB2 V9 database, preserving its XML-based data instance structure.
更确切地说是如何将表单保存到DB2V9数据库中,同时保持其基于 XML 的数据实例结构。
In the previous section, you learned how to create an XML data model and data instance (the default instance).
在前一节中,学习了如何创建XML数据模型和数据实例(默认实例)。
The submissions rules control how and which data instance can be transmitted to the application for processing.
提交规则控制将哪些数据实例传输给进行处理的应用程序,以及如何传输。
Let's say that, using the data instance from Listing 1, we want only one row of data to be presented at a time.
我们可以这样说,使用来自清单1中的数据实例,一次只需要显示一行数据。
Click the button labeled "... "in the column named ORDERDETAIL to see the XML data instance stored; see figure 7.
单击orderdetail列中被标记为“…”的按钮来查看所存储的XML数据实例;参见图7。
You have finished creating the relationship between the items on the form and the data node in the data instance.
现在,已经创建了表单元素和数据实例中数据节点之间的关系。
Only elements defined at the highest level in the associated schema can serve as root elements in a data instance.
只有在相关模式的最高层定义的元素才可以充当数据实例中的根元素。
Developers can use the tag to make their XForms documents shorter and more responsive to the actual data instance.
开发人员可以使用标记以使他们的XForms文档更短并且对实际数据实例更敏感。
Figure 3 depicts the relationship between the Name text field on the form and the Name element of the data instance.
图3描述了表单上Name文本字段和数据实例的Name元素之间的关系。
TIP: After you generate the data instance from the schema, you cannot use the instance view to modify that instance.
提示:从模式中生成数据实例之后,不能使用Instance视图来修改这个实例。
应用推荐