--- "Matthew J. Graham" <[EMAIL PROTECTED]> wrote:

> I have an element <contentLevel> which can take multiple concurrent 
> values, e.g. Research, Development, Scientific. In the view, I use an 
> xforms:select and with a multiple select this produces an instance of:
> <contentLevel>Research Development Scientific</contentLevel>
> 
> Of course, what I really want is:
> <contentLevel>Research</contentLevel>
> <contentLevel>Development</contentLevel>
> <contentLevel>Scientific</contentLevel>

Matthew,

To get this, you would have to use an <xforms:itemset>. When instead of using
an <xforms:itemset> you are listing the label/value pairs in the
<xforms:select>, all the selected values are just stored as a space separated
sequence in the referenced node.

In this case, the specification even mandates this type restriction on the node
the control is bound to: "any simpleContent capable of holding a sequence" (the
restriction is relaxed when using <xforms:itemset>).

Alex


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to