Page 1 of 1

unable to display XML complex elements when the nested element is reused in other elements

Posted: Thu Sep 22, 2011 9:42 am
by Jozef Balga
Hi!
I have the following XML structure:

Code: Select all



    
        COMP1
        
            CITY1
        
    
    
        COMP2
        
            CITY2
        
        Adam
        Eve
    

I want to display the customers with their addresses, but when I create a relation where the parent data source is 'address' and the child is entrepreneurCustomer/corporateCustomer, I am unable to render the report; an error message is shown.

Cannot add constraint to DataTable 'address' which is a child table in two nested relations.

The report checker in the Designer shows no issues.
I include a sample report. Thank You for Your time.

Jozef

unable to display XML complex elements when the nested element is reused in other elements

Posted: Fri Sep 23, 2011 8:32 am
by HighAley
Hello.

We use standard facilities of .NET Framework for work with XML. But your XML file isn't supported by .NET and accordingly by Stimulsoft Reports.
Please, use XML with other structure.

Thank you.