xform:selectMany

I couldn't find it in the current WD.

How does a "selectMany" selection look like in the instance data?

 <xform:instance>
   <poll>
     <interests/>
   </poll>
 </xform:instance>

 <xform:selectMany ref="poll/interests" xform="..">
   <choices>
     <item value="reading">Reading</item>
     <item value="music">Music</item>
     <item value="sports">Sports</item>
   </choices>
 </xform:selectMany>

I was guessing the following:

 <xform:instance>
   <poll>
     <interests>
       <choices>
         <item value="reading">Reading</item>
         <item value="music">Music</item>
       </choices>
     </interests>
   </poll>
 </xform:instance>

...for only the first two options selected.

I would also like to add that building a standard
xform2html.xsl stylesheet is not quite as easy as
expected. Up to now I don't even see another
way but using xslt-extension functions for an
implementation. (Problem is the evaluation of the
binding)

Providing a standard xform2html.xsl would a nice
thing to have...
--
Torsten

Received on Monday, 13 August 2001 05:00:04 UTC