[Xsltforms-support] Nested xf:repeats
Brought to you by:
alain-couthures
From: Richard L. <ric...@gm...> - 2023-11-21 17:51:28
|
Hi, I have a grid control record which looks like this: I want to use XForms to generate an editable grid of values, where each row has values for a record which the user has selected. I can use xf:repeat to output the headings: and I then want to iterate over the selected records, and for each record iterate over the <column> elements in the grid control record, applying each column's @select attribute to the current record: This requires two things I don't know how to do (one or both of which may be impossible): * pass a reference to the current Object node from the outer xf:repeat into the inner xf:repeat * /apply /the @select XPath to this Object node, rather than just outputting its value There are some other little challenges to overcome - my table row [of headings] is coming out as a vertical list, and my record selection area is blank - but it's only worth addressing these if the general strategy has some hope of success. Thanks in advance for any help you can offer, Richard -- ------------------------------------------------------------------------ *Richard Light* ric...@gm... /@richardofsussex/ |