Hi,
When I make a selection from a number of options:
<xf:select bind="object-list" appearance="full">
<xf:label>Objects to move:</xf:label>
<xf:itemset model="objects-chosen"
nodeset="instance('objects')/record">
<xf:label ref="Object/ObjectIdentity/Number"/>
<xf:value ref="@id"/>
</xf:itemset>
</xf:select>
The <object-list> in my model is dynamically populated with a
space-separated list of id's.
What I would like to be able to do is to display (elsewhere on the
XForm) selected information for each of the objects which is currently
selected. I can (and currently do) display /all /the objects, e.g.:
<h4>Object details:</h4>
<div>
<p><b><xf:output
ref="instance('objects')/record[1]/Object/ObjectIdentity/Number"/></b>
<br/><b>Identification: </b> <xf:output
ref="instance('objects')/record[1]/Object/Identification/ObjectName/Keyword"/>;
<xf:output
ref="instance('objects')/record[1]/Object/Identification/BriefDescription"/></p>
</div>
Is there a way of iterating over the selected objects and outputting
only their details?
Thanks,
Richard
--
------------------------------------------------------------------------
*Richard Light*
[email protected]
/@richardofsussex/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support