Okay, hopefully this helps. I've created a template of the attached repeating tables but it is formatted and looks much better in my form. I've inserted this template 4 times into my repeating table, once for each paragraph: Situation, Execution, Sustainment, Command and Control. The only paragraph that has nested default values is Execution. For the .xml files for this section I am only trying to set the default values for the Execution paragraph. Execution is paragraph 3.
First I need to set default values for a. - k., that part is done with xPath, Subpara[count(current()/preceding-sibling::my:group3)+1/Code and Subpara[count(current()/preceding-sibling::my:group3)+1/Name.
Second, I need to set the default value for subparagraphs 3.j. and 3.k....
3.j. has two default values, (1) Tasks to Staff and (2) Tasks to Subordinate Units and 3.k. has 9 or 10 default values. I don't know how to execute the xPath for this but you showed me how to use rules but it would require a unique set of rules 12 times.
Third, I need to set the default value for 3.j.(1) and 3.j.(2), about 19 values for 3.j.(1) and 10 for 3.j.(2) I was hoping this would be similar solution as above but with a secondary data source since there are 29 default values.
Thank you!