meh... generally, how does infopath distinguish between a group with attributes (and no subitems) and a field with attributes (and no value)? (both repeating) .. i made some example forms and to me, the xml-structure seems to be exactly the same thing. (but that was a the reason why i couldn't completely reconstruct the problem with a xml file.) namely:
<Group Attribute1 ="bla"></Group>
<Field Attribute1="bla"></Field>
but anyway... that doesn't matter too much actually, duplicate entries in dropdown boxes aren't the end of the world. the more annoying problem is the one with the repeating section;
if one fills out the repeating section and adds another section, the xpaths of the dropdown boxes aren't unique anymore; that means, that the dropdown menus in the new section that contain filtered results now also contain options that match a criteria stated (a preceeding filtering dropdown-menu) in some preceding section. .. so, how can I filter data-sources with a field only from the current section?
------------------------- repeating section entry1 --------------------------------¬
company: [ Microsoft [V]
name: [ Bill Gates [V]
contact details: #some-information-from-the-database
------------------------- repeating section entry2 -------------------------------¬
company: [ Apple [V]]
name: [ Bill Gates [#]
[ Steve Jobs [ ] <- that's the open dropdown menu
[ Steve Balmer [ ]
contact details: #get-here-as-soon-as-the-name-is-specified
thanks for your time..
fabian