XML data processing - Choice Element

9
Hi, I have created a domain model using the XML Schema document and created the import mapping for the same to import the xml file. The XML schema includes number of generalization using the CHOICE element. I can able to process the ChoiceBase element from non generalized entity. I’m facing an issue with ChoiceBase element when trying to retrieve from another ChiceBase element. The import mapping is like below, Here, from ChoiceBase_ItemType association able to retrieve the ChoiceBase element  and processed the same using inheritance split then casted that as Item1 object. After that used ChoiceBase_Item1 association to retrieve ChoiceBase element But the object type is still Item1 instead of ChoiceBase element. Any idea would be appreciated to process the Choice Element from another Choice Element. Thanks!  
asked
0 answers