none
XML mappings with optional sub elements RRS feed

  • Question

  • <fields>
    	<field id="1" type="type1" size="medium">
    		<label>label1</label>
    		<choices>
    			<choice>choice1</choice>
    			<choice>choice2</choice>
    		</choices>
    	</field>
    	
    	<field id="2" type="type2" size="medium">
    		<label>label2</label>
    	</field>
    </fields>

    when attempting to use this as an XML mapping, I'm told I can't because:

    there's a list of lists, and a mapped element's relationship with other elements cannot be preserved.

    this only happens if I have more than 1 choice in choices. Otherwise there's no issue. But I don't understand why I can't create a map with an optional choice category that contains multiple choices.

    Wednesday, May 20, 2015 9:26 PM

Answers