If you found the preceding exercise a bit too complex, you’ll appreciate InfoPath’s automatic form generation capability. The Data Source Wizard delivers an almost-completed form in a minute or less, if the XML data document you specify to create the data source is well-formed, not overly complex, and representative of the final production version.
Making sure InfoPath recognizes repeating elements
If your form has repeating elements, use a data document with at least two instances of the repeating element to ensure that InfoPath’s schema inference engine interprets the element correctly and binds a repeating table or repeating section to the element. You can change a nonrepeating group to a repeating ...