[Xsltforms-support] Is <xf:copy> within an <xf:itemset> supported yet?
Brought to you by:
alain-couthures
From: Dan M. <dan...@gm...> - 2010-05-19 15:49:47
|
Hello XSLTForms fans! I am currently using the <xf:select> control and it currently puts the selected items as space separated values in an element like this: <message-classification-codes>code-a code-b code-c</message-classification-codes> But for a specific program that I am working on, I would like is the following structure: <message-classification-codes> <classifier>code-a</classifier> <classifier>code-b</classifier> <classifier>code-c</classifier> </message-classification-codes> There is an implication that this should be possible in XForms 1.1 using the <xf:copy> element inside of <xf:itemset> instead of <xf:value>. See http://www.w3.org/TR/xforms11/#ui-selection-commonelems-copy I know that I can get the same results by using a <xf:select1> inside of a </xf:repeat>, but it seems like the <xf:copy> inside of <xf:itemset> would be a lot nicer. Can anyone tell me if this would be easy to do? Thanks! - Dan -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1442 |