W3C W3C Incubator Report

Long description of Figure 6: Single node data binding in ODF

Using the ODT output described in Figure 5 Expenses summarized and reported in Open Document Text (ODT) format, Figure 6 illustrates how a specific instance of underlying data in the ODT output:

<draw:control
draw:control="C_travel">

The highlighted item in the ODT output is bound to a section of the figure labeled "ODF Form Text Fields", which contains two ODF form text fields: "Food" and "Travel". The snippet of code described above is bound to the "Travel" form text field; following the "Travel" form text field is another snippet of underlying markup:

<form:text id="C_travel"
bind="travel_bind" />

The "Travel" form text field is bound to a section containing the following snippet of code:

<bind id="travel_bind" nodeset="travel" />

Which, in turn, is bound to the final section of Figure 6, which contains the XML-fragment:

<expenses>
<travel>100</travel>
<personal>200</personal>
<food>125</food>
</expenses>

Return to the text immediately following Figure 6.

Valid XHTML 1.0 Strict