473,382 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Creating Reports based on hierarchical XML file

Hi,

We have XML files (and its XSD) that are dump of our tree-like data
structure in memory. These XML files may potentially have unlimited
levels of nesting because some elements can contain themselves
(recursively defined).

We want to build some reports using some third party reporting tool
(Crystal Report, for example).

The first question is - is there any way for Crystal Reports to
process such complicated (some elements have recursive definitions)
XML file directly? If not, anyone knows any other reporting tool that
can do that job?

The second question is - if we have to develop a small application
that converts the XML to dataset, anyone who has done similar thing
before can give us some recommendations as to which approach is the
easiest to take (Java, .NET, etc.)? I'd appreciate it if someone can
point me to some resources to get me started.

Another approach is to convert the hierarchical XML into relational
table set and store the data into relational database. In that case,
the reporting tool can simply read from the database. I'd appreciate
it if someone can let me know if there is any softeware/program that
can do the conversion. (I heard that some database server can do the
conversion from XML to relational tables, but didn't find anything
concrete.)

Any comment/recommendation is appreciated!

Thank you for your help in advance!!
Jul 20 '05 #1
2 3617
John wrote:
Hi,

We have XML files (and its XSD) that are dump of our tree-like data
structure in memory. These XML files may potentially have unlimited
levels of nesting because some elements can contain themselves
(recursively defined).

We want to build some reports using some third party reporting tool
(Crystal Report, for example).

The first question is - is there any way for Crystal Reports to
process such complicated (some elements have recursive definitions)
XML file directly? If not, anyone knows any other reporting tool that
can do that job?

The second question is - if we have to develop a small application
that converts the XML to dataset, anyone who has done similar thing
before can give us some recommendations as to which approach is the
easiest to take (Java, .NET, etc.)? I'd appreciate it if someone can
point me to some resources to get me started.

Another approach is to convert the hierarchical XML into relational
table set and store the data into relational database. In that case,
the reporting tool can simply read from the database. I'd appreciate
it if someone can let me know if there is any softeware/program that
can do the conversion. (I heard that some database server can do the
conversion from XML to relational tables, but didn't find anything
concrete.)

Any comment/recommendation is appreciated!

Thank you for your help in advance!!


Crystal can't but Oracle can.

But before we get to that what made you think it was appropriate
to post to every usenet group you could spell?

The solution is to use the native functionality in the database
to unnest the XML.

The solution to your obnoxious cross-posting is to learn usenet
etiquette.
--
Daniel A. Morgan
University of Washington
da******@x.washington.edu
(replace 'x' with 'u' to respond)
Jul 20 '05 #2
xi********@yahoo.com (John) wrote in message news:<85**************************@posting.google. com>...
Hi,

We have XML files (and its XSD) that are dump of our tree-like data
structure in memory. These XML files may potentially have unlimited
levels of nesting because some elements can contain themselves
(recursively defined).

We want to build some reports using some third party reporting tool
(Crystal Report, for example).

The first question is - is there any way for Crystal Reports to
process such complicated (some elements have recursive definitions)
XML file directly? If not, anyone knows any other reporting tool that
can do that job?

The second question is - if we have to develop a small application
that converts the XML to dataset, anyone who has done similar thing
before can give us some recommendations as to which approach is the
easiest to take (Java, .NET, etc.)? I'd appreciate it if someone can
point me to some resources to get me started.

Another approach is to convert the hierarchical XML into relational
table set and store the data into relational database. In that case,
the reporting tool can simply read from the database. I'd appreciate
it if someone can let me know if there is any softeware/program that
can do the conversion. (I heard that some database server can do the
conversion from XML to relational tables, but didn't find anything
concrete.)

Any comment/recommendation is appreciated!

Thank you for your help in advance!!

IMO, you're better off writing your report with xsl. Call nested nodes
recursive using call-template passing necessary parameters as
required. It will probably take less time than configuring crystal
reports and won't cost you anything.

Wole
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John | last post by:
Hi, We have XML files (and its XSD) that are dump of our tree-like data structure in memory. These XML files may potentially have unlimited levels of nesting because some elements can contain...
0
by: Anita C | last post by:
Hi, I have an xml document (Xml1.xml) with the foll.structure: <?xml version="1.0" encoding="utf-8"?> <REPORTS> <SCOPE TITLE="My Reports"> <REPORT URL="Report1.aspx" AUTHOR="me">First...
2
by: Sami | last post by:
Could someone explain clearly how to go about doing this? I have tried setting up the structure on numerous occasions, but it never seems to work. Could someone please help me out? Thanks!
2
by: Dave | last post by:
Our company intranet allows various users to submit address information and contact names and numbers using ASP pages, that save to an Access 2000 database. There are no issues with retrieving,...
2
by: Joe_Black | last post by:
Hi all, I want to create an MDI app that allows reporting on XML data files downloaded from the equipment that we manufacture, this MDI app will have several default reports but due to the...
3
by: rreitsma | last post by:
I want to create a form that will allow the user to select from a list of available reports and based on a filter limit the records displayed in the report. I have figured out how to access the...
0
by: slawek86 | last post by:
Hi, I use Crystal Reports for Visual Studio 2005 (v 10.2) and hierarchical grouping. I want to do summary of child rows in parent's footer, but it set itself above child rows. How can I do, to child...
2
by: icenemesis | last post by:
I am using Access 2000 and have this setup. Tables Program Procedure WorkInstruction Form the tables are set up with the following relationships.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.