473,387 Members | 1,641 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,387 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 3618
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.