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

Stimulsoft Reports.NET discussion
Post Reply
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

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

Post 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
Attachments
1332.complex_nested_error.zip
(2.65 KiB) Downloaded 170 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post 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.
Post Reply