XML hierarchy :: master-child

Stimulsoft Reports.NET discussion
Post Reply
brand
Posts: 1
Joined: Mon Aug 07, 2006 7:11 am
Location: Moscow

XML hierarchy :: master-child

Post by brand »

There is such XML data source:

Code: Select all



    
        
        
        
    
    
        
        
        
    

Link to XML file

I want to get report like this:

Code: Select all

     One
         One-One
         One-Two
         One-Three

     Two
         Two-One
         Two-Two
         Two-Three
I created a simple master-child report as shown below:

Image
Image
Link to report file (.mrt)

...but I got an empty page as result.
(By the way a similar test on SQL data source works well)

Questions:

1. How does StimulReport support XML hierarchical data? - I guess it does over relation between outer and inner elements (using automatic implicit ID fields - Master.Master_Id and Child.Master_id). Does it work properly? - If does, where was I wrong?

2. Is there another way to work with such XML hierarchical data?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

XML hierarchy :: master-child

Post by Edward »

brand wrote:There is such XML data source:

Code: Select all



    
        
        
        
    
    
        
        
        
    

Link to XML file

I want to get report like this:

Code: Select all

     One
         One-One
         One-Two
         One-Three

     Two
         Two-One
         Two-Two
         Two-Three
I created a simple master-child report as shown below:

Image
Image
Link to report file (.mrt)

...but I got an empty page as result.
(By the way a similar test on SQL data source works well)

Questions:

1. How does StimulReport support XML hierarchical data? - I guess it does over relation between outer and inner elements (using automatic implicit ID fields - Master.Master_Id and Child.Master_id). Does it work properly? - If does, where was I wrong?

2. Is there another way to work with such XML hierarchical data?
Please contact Image for the patch. Please specify .Net version you are using.
Thank you.
Post Reply