473,324 Members | 2,313 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,324 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 3612
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.