Orbeon Forms User Guide
- Getting Started
- Core Technologies Reference
- XForms
- Page Flow
- XML Pipelines (XPL)
- Other Technologies Reference
- Processors Reference
- API Reference
- Integration
|
XForms Reference, Part 2
1. Introduction
This is Part 2 of a two-part documentation. This part focuses on extensions over XForms provided by
Orbeon Forms, as well as XForms engine configuration.
Please be sure to visit Part 1 as well.
2. XForms 1.1 Support
2.1. Media Type for xforms:output
In XForms 1.0, xforms:output is only used to display text. However, XForms 1.1 supports
a mediatype attribute on that element allowing display of other media types.
2.1.1. Image Types
For the <xforms:output> control to display an image, you
need to:
-
Have a mediatype attribute on the <xforms:output>. That
attribute must refer to an image mediatype, such as image/* or
image/jpeg.
-
Use the value attribute on <xforms:output> or bind to the
control to a node without type, with an xs:anyURI type or with an
xs:base64Binary type.
The resulting value from the instance is interpreted either as a URI pointing to an image, or as
a base64-encoded binary representation of the image. The image will display in place of the
xforms:output. It is possible to dynamically change the image pointed to. For
example:
<xforms:output mediatype="image/*" value="'/images/moon.jpg'"/>
<xforms:model><xforms:instance><image-uri/></xforms:instance><xforms:bind nodeset="image-uri" type="xs:anyURI"/></xforms:model>...<xforms:output mediatype="image/*" ref="image-uri"/>
The image URI may or may no be reachable from the client browser. Orbeon Forms hides this from
the developer. For example, to upload and show an image:
<xforms:group ref="image[normalize-space() != '']"><xforms:output ref="." mediatype="image/*"><xforms:label/></xforms:output></xforms:group><xforms:upload ref="image"><xforms:label/><xforms:filename ref="@filename"/><xforms:mediatype ref="@mediatype"/><xxforms:size ref="@size"/></xforms:upload>
In that example, the upload control stores a temporary URI pointing to a local
file: resource. While this URI is not visible from the client web browser, the
output control automatically proxies it so that the end user can see the image.
2.1.2. HTML Type
When an xforms:output control has a mediatype
attribute with value text/html, the value of the node to which
the control is bound is interpreted as HTML content. Consider the following
XForms instance:
<xforms:instance id="my-instance"><form><html-content>This is in <b>bold</b>!</html-content></form></xforms:instance>
You bind an xforms:output control to the
html-content node as follows:
<xforms:output ref="instance('my-instance')/html-content" mediatype="text/html"/>
This will display the result as HTML, as expected: "This is in bold!". If the
mediatype is not specified, the result would be instead: "This is in
<b>bold</b>!". In the XForms instance, the HTML content must be escaped as text. On
the other hand, the following content will not work as expected:
<xforms:instance><form><html-content>This is in in<b>bold</b>!</html-content></form></xforms:instance>
Note
When using a mediatype="text/html", an HTML
<div> element will be generated by the XForms engine to hold
the HTML data. As in HTML a <div> cannot
be embedded into a <p>, if you have a
<xforms:output mediatype="text/html"> control, you should
not put that control into a <xhtml:p>.
2.2. origin Attribute on xforms:insert Action
Orbeon Forms supports the XForms 1.1 origin attribute on the
xforms:insert action. This attribute allows specifying the source node to use as
template. This allows storing templates separately from the node-set specified by the
nodeset attribute. For example:
<xforms:insert nodeset="address" at="last()" position="after" origin="instance('template-instance')"/>
The template copied in this case comes from an XForms instance:
<xforms:instance id="template-instance"><address><street><number/><name-1/><name-2/></street><apt/><city/><state/><zip/></address></xforms:instance>
2.3. context Attribute on xforms:insert Action
Orbeon Forms supports the XForms 1.1 context attribute on the
xforms:insert action. This attribute allows specifying a context for insertion,
which along with the origin attribute allows inserting content into elements:
<xforms:insert context="instance('main-instance')/books" nodeset="book" origin="instance('book-instance')"/>
With original instances as follows:
<xforms:instance id="main-instance"><instance><books/></instance></xforms:instance><xforms:instance id="book-instance"><book><title>Cosmos</title><author>Carl Sagan</author></book></xforms:instance>
The result of a first insertion is:
<xforms:instance id="main-instance"><instance><books><book><title>Cosmos</title><author>Carl Sagan</author></book></books></instance></xforms:instance>
2.4. validate and relevant Attributes on xforms:submission
Orbeon Forms supports the XForms 1.1 validate and relevant attributes
on xforms:submission. These boolean attributes disable processing of validation
and relevance respectively for a given submission:
<xforms:submission id="my-submission" method="post" validate="false" relevant="false" resource="http://example.org/rest/draft/" replace="none"/>
For more information, please visit the XForms 1.1 specification.
2.5. serialization Attribute on xforms:submission
Orbeon Forms partially supports the XForms 1.1 serialization on
xforms:submission: when the value of this attribute is set to none, no
serialization of the data takes place. This is particularly useful for the get
method:
<xforms:submission id="my-submission" method="get" serialization="none" resource="http://example.org/document.xml" replace="instance" instance="my-instance"/>
For more information, please visit the XForms 1.1 specification.
2.6. Conditional Execution and Iteration of XForms Actions
Orbeon Forms supports the XForms 1.1 if and while attributes on XForms
action elements. For more information, please visit the XForms 1.1 specification.
2.7. XForms 1.1 Functions
[TODO: List all XForms 1.1 functions implemented]
3. Extensions
3.1. Read-Only Mode
3.1.1. Making an Entire Instance Read-Only
You often want to present a form without allowing the user to enter data. An easy solution is to use
the readonly MIP in the model. By making for example the root element of an instance
read-only, all the controls bound to any node of that instance will appear read-only (because the
read-only property is inherited in an instance):
<xforms:instance id="my-form"><form>...</form></xforms:instance><xforms:bind nodeset="instance('my-form')" readonly="true()"/>
3.1.2. Static Appearance for Read-Only Mode
Sometimes, read-only controls don't appear very nicely in web browsers. For example, a combo box
will appear grayed out. It maybe be hard to read, and there is not much point showing a combo box
since the user can't interact with it. Furthermore, with some browsers, like IE 6 and earlier, it
is not even possible to make disabled controls appear nicer with CSS. In order to make read-only
versions of forms look nicer, Orbeon Forms supports a special extention attribute that allows you
to produce a "static" appearance for read-only controls. You enable this on your first XForms model:
<xforms:model xxforms:readonly-appearance="static">...</xforms:model>
The attribute takes one of two vales: static or dynamic (the default).
When using the value static, read-only controls do not produce disabled HTML form
controls. This has one major limitation: you can't switch a control back to being read-write once
it is displayed as read-only.
You can also set the xxforms:readonly-appearance attribute directly on individual
XForms controls.
See the Government Forms sample application's View Read-Only option for
an example of this feature in action.
3.2. Formatting
3.2.1. Rationale
It is usually recommended to use native XML types within XForms instances, as this guarantees
interoperability and maintainability. For example, a date of January 10, 2005 is stored in ISO
format as: 2005-10-01. However it is often necessary to format such values on screen
in a user-readable format, like "January 10, 2005", "10 janvier 2005", or "10. Januar 2005".
Orbeon Forms provides an extension attribute, xxforms:format, for that purpose.
xxforms:format must contain an XPath 2.0 expression. In your XPath expression you can
use all the XPath 2.0 functions, including those for date manipulation (external
documentation). However since XPath 2.0 functions don't provide any facility for date and time
formatting, you can in this attribute also use the following XSLT 2.0 functions:
The XPath expression is evaluated by the XForms engine whenever the value bound to the
xforms:input control changes and needs to be updated on screen. It is evaluated in the
context of the instance node bound to the control. This means that the current value of the control
can be accessed with ".". Often the value must be converted (for example to a date) in
which case the conversion can be done with a XPath 2.0 constructor such as xs:date(.)
or with as cast such as (. cast as xs:date?).
3.2.2. xforms:input
When using xforms:input and a bound xs:date type, you can control the
formatting of the date using the xxforms:format extension attribute on the
xforms:input control. For example:
<xforms:input ref="date" xxforms:format="format-date(xs:date(.), '[MNn] [D], [Y]', 'en', (), ())"/>
Note
This only controls the appearance of the date as shown to the user. It does not control the
format of the date captured in the XML document, or determines the format into which the
user can type the date.
3.2.3. xforms:output
When using xforms:output, you can control the formatting of the date using the
xxforms:format extension attribute on the xforms:output control.
<xforms:output ref="date" xxforms:format="format-date(xs:date(.), '[MNn] [D], [Y]', 'en', (), ())"/><xforms:output ref="size" xxforms:format="format-number(., '###,##0')"/>
3.2.4. Default Formatting
For both xforms:input and xforms:output, if the bound node is of one of
the following types: xs:date, xs:dateTime, xs:time,
xs:decimal, xs:integer, xs:float, and xs:double,
and if no xxforms:format attribute is present on the control, formatting is based on
properties. If the properties are missing, a built-in default
formatting is used. The default properties, as well as the built-in defaults, are as follows:
<property as="xs:string" name="oxf.xforms.format.date" value="if (. castable as xs:date) then format-date(xs:date(.), '[FNn] [MNn] [D], [Y]', 'en', (), ()) else ."/><property as="xs:string" name="oxf.xforms.format.dateTime" value="if (. castable as xs:dateTime) then format-dateTime(xs:dateTime(.), '[FNn] [MNn] [D], [Y] [H01]:[m01]:[s01] UTC', 'en', (),
()) else ."/><property as="xs:string" name="oxf.xforms.format.time" value="if (. castable as xs:time) then format-time(xs:time(.), '[H01]:[m01]:[s01] UTC', 'en', (), ()) else ."/><property as="xs:string" name="oxf.xforms.format.decimal" value="if (. castable as xs:decimal) then format-number(xs:decimal(.),'#,##0.00') else ."/><property as="xs:string" name="oxf.xforms.format.integer" value="if (. castable as xs:integer) then format-number(xs:integer(.),'#,##0') else ."/><property as="xs:string" name="oxf.xforms.format.float" value="if (. castable as xs:float) then format-number(xs:float(.),'#,##0.000') else ."/><property as="xs:string" name="oxf.xforms.format.double" value="if (. castable as xs:double) then format-number(xs:double(.),'#,##0.000') else ."/>
They produce results as follows:
-
2004-01-07 as xs:date is displayed as Wednesday January 7, 2004
-
2004-01-07T04:38:35.123 as xs:dateTime is displayed as Wednesday January 7, 2004 04:38:35 UTC
-
04:38:35.123 as xs:time is displayed as 04:38:35 UTC
-
123456.789 as xs:decimal is displayed as 123,456.79
-
123456.789 as xs:integer is displayed as 123,456
-
123456.789 as xs:float or xs:double is displayed as 123,456.789
Note:
-
With the "if" condition in the XPath expressions, a value which cannot be converted to the
appropriate type is simply displayed as is.
-
For values of type xs:time or xs:dateTime, if you wish the time to be
displayed using the current timezone instead of UTC, replace in the value attribute
UTC by [ZN].
3.3. Iteration of XForms Actions over Sequences
Orbeon Forms supports the exforms:iterate attribute, also available as
xxforms:iterate attribute, on XForms action elements. Consider the following
instances:
<xforms:instance id="main-instance"><instance/></xforms:instance><xforms:instance id="template-instance"><book><title/><author/></book></xforms:instance><xforms:instance id="source-instance"><instance><title>Don Quixote de la Mancha</title><author>Miguel de Cervantes Saavedra</author><title>Jacques le fataliste et son maître</title><author>Denis Diderot</author><title>Childhood's End</title><author>Arthur C. Clarke</author></instance></xforms:instance>
The following action iterates over the <title> elements of
source-instance. For each of those, a new <book> element, copied from
the template stored in template-instance, is inserted into main-instance.
Then values from the <title> and <author> elements are copied over
to the new structure. The XForms 1.1 context() function provides access to each of the
iterated nodes:
<xforms:action ev:event="xforms-ready" xxforms:iterate="instance('source-instance')/title"><xforms:insert context="instance('main-instance')" nodeset="book" origin="instance('template-instance')"/><xforms:setvalue ref="instance('main-instance')/book[last()]/title" value="context()"/><xforms:setvalue ref="instance('main-instance')/book[last()]/author" value="context()/following-sibling::author"/></xforms:action>
The resulting main-instance is as follows:
<instance><book><title>Don Quixote de la Mancha</title><author>Miguel de Cervantes Saavedra</author></book><book><title>Jacques le fataliste et son maître</title><author>Denis Diderot</author></book><book><title>Childhood's End</title><author>Arthur C. Clarke</author></book></instance>
Note that because Orbeon Forms uses XPath 2.0, xxforms:iterate is not limited to
returning node-sets, but can return sequences of items such as strings.
For more information about eXforms extensions, please visit the eXforms site.
3.4. Generalized context attribute
XForms 1.1 introduces the context attribute on <xforms:insert> and
<xforms:delete>. Orbeon Forms supports this convenient attribute on all XForms
elements changing the XPath evaluation context, including controls, actions, binds, and
submissions.
The context attribute overrides the in-scope XPath evaluation context for an action. It
applies before the ref and context attributes, but after the
model attribute.
One convenient use is to just change the context within a group:
<xforms:group context="personal-information">...</xforms:group>
Note that it is also possible to use ref in this case, but doing so has the side effect
of binding the group to an instance data node, which may affect group relevance, for example.
3.5. Enhanced event() Function Support
Orbeon Forms enhances the XML Events event() function to take a qualified name as
parameter:
event($attribute-name as QName) item()*
This allows namespacing attribute names, therefore better allowing for extension attributes.
The following standard event attributes are implemented:
[TODO: describe standard Orbeon Forms support for event() function]
On all events, the following extension attributes are supported:
-
event('xxforms:type') as xs:string
Return the event type (also known as event name), for example "DOMActivate".
-
event('xxforms:target') as xs:string
Return the id of the event target.
-
event('xxforms:bubbles') as xs:boolean
Return whether the event is allowed to bubble or not.
-
event('xxforms:cancelable') as xs:boolean
Return whether the event is cancelable or not.
On all UI events (DOMActivate, DOMFocusIn, DOMFocusOut,
xforms-select, xforms-deselect, xforms-enabled,
xforms-disabled, xforms-help, xforms-hint,
xforms-valid, xforms-invalid, xforms-required,
xforms-optional, xforms-readonly, xforms-readwrite,
xforms-value-change), the following extension attributes are supported:
-
event('xxforms:binding') as node()?
Return the event target's single-node binding if any.
-
event('xxforms:label') as xs:string?
Return the event target's label value if any.
-
event('xxforms:hint') as xs:string?
Return the event target's hint value if any.
-
event('xxforms:help') as xs:string?
Return the event target's help value if any.
-
event('xxforms:alert') as xs:string?
Return the event target's alert value if any.
-
event('xxforms:repeat-indexes') as xs:string*
Return the event target's current repeat indexes, if any, starting from the ancestor
repeat.
On xforms-select, the following extension attributes are supported:
-
event('xxforms:item-value')
When this event is dispatched to in response to a selection control item being selected,
returns the value of the selected item.
3.6. Enhanced <xforms:dispatch> Support
Orbeon Forms supports passing event context attributes with the <xxforms:context>
child element. The actions supported are actions which directly cause an event to be dispatched:
-
<xforms:dispatch>
-
<xforms:send>
-
<xxforms:show>
-
<xxforms:hide>
Here is how you pass context attributes when executing an action:
<xforms:dispatch name="rename-control" target="my-model"><xxforms:context name="my:control" select="my/control"/><xxforms:context name="my:control-name" select="'beverage-selection'"/></xforms:dispatch>
<xxforms:context> supports the following two attributes:
name |
Mandatory |
Name of the context attribute. In order to avoid confusion with standard XForms names, we
recommend you use qualified names.
|
select |
Mandatory |
XPath 2.0 expression determining the value of the context attribute.
|
Context attribute passed this way can be retrieved using the event() function:
<xforms:action ev:event="rename-control"><xforms:setvalue ref="event('control')/@name" value="event('control-name')"/></xforms:action>
Note
At the moment, with, <xforms:dispatch>, only custom events support passing
context attributes this way. Built-in events, such as xforms-value-changed, or
DOMActivate, ignore nested <xxforms:context> elements.
3.7. Enhanced Support for xforms-select and xforms-deselect
[TODO: describe support for these events on xforms:upload]
3.8. Targetting effective controls within repeat iterations
The following actions all support attributes resolving to a particular control:
-
<xforms:dispatch> (target attribute)
-
<xforms:setfocus> (control attribute)
-
<xforms:toggle> (case attribute)
-
<xxforms:show> (neighbor attribute)
When that control is within a repeat iteration, the actual control targetted is chosen based on the
current set of repeat indexes. However, in some cases, it is useful to be able to target the control
within a particular iteration. This is achieved with the xxforms:repeat-indexes
extension attribute on these actions. This attribute takes a space-separated list of repeat
indexes, starting with the outermost repeat. Example:
<xforms:repeat nodeset="todo-list"><xforms:repeat nodeset="todo-item"><xforms:switch><xforms:case id="edit-case">...</xforms:case><xforms:case id="view-case">...</xforms:case></xforms:switch></xforms:repeat></xforms:repeat><xforms:trigger><xforms:label>Toggle Me!</xforms:label><xforms:toggle ev:event="DOMActivate" case="edit-case" xxforms:repeat-indexes="3 5"/></xforms:trigger>
3.9. Validation Extensions
3.9.1. Extension Events
Orbeon Forms supports extensions events dispatched to an instance when it becomes valid or
invalid: xxforms-valid and xxforms-invalid. These events are
dispatched just before xforms-revalidate completes, to all instances of the model
being revalidated. For a given instance, either xxforms-valid or
xxforms-invalid is dispatched for a given revalidation.
These events can be used, for example, to toggle the appearance of icons indicating that a form
is valid or invalid:
<xforms:instance id="my-instance">...</xforms:instance><xforms:action ev:event="xxforms-invalid" ev:observer="my-instance"><xforms:toggle case="invalid-form-case"/></xforms:action><xforms:action ev:event="xxforms-valid" ev:observer="my-instance"><xforms:toggle case="valid-form-case"/></xforms:action>
3.9.2. Extension Types
Orbeon Forms supports the built-in xxforms:xml extension type. This types checks
that the value is well-formed XML:
<xforms:bind nodeset="my-xml" type="xxforms:xml"/>
Note that this checks the string value of the node, which means that the node must
contain escaped XML.
3.9.3. Controlling the XML Schema Validation Mode
When an XML Schema is provided, Orbeon Forms supports controlling whether a particular instance
is validated in "lax" mode, "strict" mode, or not validated at all.
Orbeon Forms implements a "lax" validation mode by default, where only elements that have
definitions in the imported schemas are validated. Other elements are not considered for
validation. This is in line with XML Schema and XSLT 2.0 lax validation modes, and with the
default validation mode as specified in XForms 1.1
In addition, the author can specify the validation mode directly on each instance with the
extension xxforms:validation attribute, which takes values lax
(the default), strict (the root element has to have a definition in the schema
and must be valid), or skip (no validation at all for that instance).
<xforms:model schema="my-schema.xsd"><xforms:instance id="my-form" xxforms:validation="strict"><my-form>...</my-form></xforms:instance><xforms:instance id="items" xxforms:validation="skip"><items>...</items></xforms:instance></xforms:model>
Nodes validated through a schema receive datatype annotations, which means that if an element
or attribute is validated against xs:date in a schema, an XForms control bound to
that node will display a date picker.
3.10. XPath Extension Functions
Orbeon Forms implements some extension functions which can be used from XPath expressions
in XForms documents.
3.10.1. XSLT 2.0 Functions
When using XPath 2.0, the following functions from XSLT 2.0 are also available:
3.10.2. Orbeon Forms Functions
The following functions are implemented:
-
xxforms:if()
This function implements the semantic of the XForms 1.0 if() function.
See Note About XPath 2.0 Expressions for more details.
-
xxforms:call-xpl($xplURL as xs:string, $inputNames as xs:string*, $inputElements
as element()*, $outputNames as xs:string+) as document-node()*
This function lets you call an XPL pipeline.
-
The first argument,
$XPLurl, is the URL of the pipeline. It must be an
absolute URL.
-
The second argument,
$inputNames, is a sequence of strings, each one
representing the name of an input of the pipeline that you want to connect.
-
The third argument,
$inputElements, is a sequence of elements to be
used as input for the pipeline. The $inputNames and
$inputElements sequences must have the same length. For each element
in $inputElements, a document is created and connected to an input of
the pipeline. Elements are matched to input name by position, for instance the
element at position 3 of $inputElements is connected to the input with
the name specified at position 3 in $inputNames.
-
The fourth argument,
$outputNames, is a sequence of output names to
read.
-
The function returns a sequence of document nodes corresponding the output of the
pipeline. The returned sequence will have the same length as
$outputNames and will correspond to the pipeline output with the name
specified on $outputNames based on position.
The example below shows a call to the xxforms:call-xpl function:
xxforms:call-xpl ('oxf:/examples/sandbox/xpath/run-xpath.xpl', ('input', 'xpath'), (instance('instance')/input, instance('instance')/xpath),
'formatted-output')/*, 'html')
-
xxforms:evaluate($xpath as xs:string) as item()*
The xxforms:evaluate() function allows you to evaluate XPath expressions
dynamically. For example:
<xforms:input ref="xxforms:evaluate(concat('instance(''my-instance'')/document', my-xpath))"><xforms:label>...</xforms:label></xforms:input>
-
xxforms:serialize($item as node(), $format as xs:string?) as xs:string
The xxforms:serialize() function allows you to serialize an XML node to
XML, HTML, XHTML or text. For example:
<xforms:bind nodeset="my-html" calculate="xxforms:serialize(instance('my-instance'), 'html')"/>
-
xxforms:context($element-id as xs:string) as node()
The xxforms:context() function allows you to obtain the single-node binding
for an enclosing xforms:group, xforms:repeat, or
xforms:switch. It takes one mandatory string parameter containing the id of
an enclosing grouping XForms control. For xforms:repeat, the context returned is the
context of the current iteration.
<xforms:group ref="employee" id="employee-group"><xforms:group ref="instance('control-instance')/input"><xforms:input ref="xxforms:context('employee-group')/name"><xforms:label>Employee Name</xforms:label></xforms:input></xforms:group></xforms:group>
Note
See also the XForms 1.1 context() function, which returns the current
evaluation context:
<xforms:group ref="employee"><xforms:setvalue ref="instance('foo')/name" value="context()/name"/></xforms:group>
-
xxforms:bind(bind-id as xs:string) as node()*
The xxforms:bind() function returns the node-set of a given
<xforms:bind>:
<xforms:input bind="my-bind">...</xforms:input><xforms:input ref="xxforms:bind('my-bind')">...</xforms:input>
xxforms:bind() is particularly useful when referring to a bind is subject
to a condition:
<xforms:hint ref="for $bind in xxforms:bind('my-hint') return if (normalize-space($bind) = '') then instance('default-hint') else $bind"/>
-
xxforms:repeat-nodeset($repeat-id as xs:string) as node()*
The xxforms:repeat-nodeset() function returns the node-set of an enclosing
xforms:repeat. It takes one mandatory string parameter containing the id of
an enclosing repeat XForms control.
<xforms:repeat id="employee-repeat" nodeset="employee"><xhtml:div><xforms:output value="count(xxforms:repeat-nodeset('book-repeat'))"/></xhtml:div></xforms:repeat>
-
xxforms:instance($instance-id as xs:string) as element()?
The xxforms:instance() function works like the standard
instance() function except that it searches for instances in all the models
of the XForms document (the standard instance() function only searches
within the current XForms model).
<xforms:model id="main-model"><xforms:instance id="main-instance">...</xforms:instance></xforms:model><xforms:model id="resources-model"><xforms:instance id="resources-instance">...</xforms:instance></xforms:model>...<xforms:group model="main-model"><xforms:output value="xxforms:instance('resources-instance')/titles/company-information"/></xforms:group>
-
xxforms:index($repeat-id as xs:string?) as xs:integer
The xxforms:index() function behaves like the standard XForms
index() function, except that its argument is optional. When the argument
is omitted, the function returns the index of the closest enclosing
<xforms:repeat> element. This function must always be used within
<xforms:repeat> otherwise an error is raised.
<xforms:repeat nodeset="employee" id="employee-repeat"><div><xforms:trigger><xforms:label>Add One</xforms:label><xforms:insert ev:event="DOMActivate" nodeset="../employee" at="xxforms:index()"/></xforms:trigger></div></xforms:repeat>
-
xxforms:property($property-name as xs:string) as xs:string?
The xxforms:property() function retrieves the value of a property defined
in properties.xml. If no property exists with the given name, returns an
empty sequence.
<xforms:repeat nodeset="employee" id="employee-repeat"><div><xforms:trigger><xforms:label>Read Property</xforms:label><xforms:setvalue ev:event="DOMActivate" ref="my-property" value="xxforms:property('my.property.name')" |