473,795 Members | 3,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help to generate critical report

I have a critical requirement where I need to club together 4 xml
files and display them in an sibngle HTML report. The xmls are
generated by Java application by a normal file I/O.

Is there a way I can club them together in a presentable format for
reporting purpose ?

So for .g. a.xml, b.xml, c.xml and d.xml. These xmls I want to display
in an html report say report.html in a 4 columns in java.

Please help.

Cheers
Nick
Jun 27 '08 #1
4 1732
Nick wrote:
I have a critical requirement where I need to club together 4 xml
files and display them in an sibngle HTML report. The xmls are
generated by Java application by a normal file I/O.

Is there a way I can club them together in a presentable format for
reporting purpose ?

So for .g. a.xml, b.xml, c.xml and d.xml. These xmls I want to display
in an html report say report.html in a 4 columns in java.
XSLT can transform XML to HTML and it can process multiple input
documents using the XSLT function named document:
http://www.w3.org/TR/xslt#document
Java 1.5 and later I think has XSLT 1.0 support and there are also
several third-party XSLT processor implementations in Java.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 27 '08 #2
On Apr 29, 6:16*pm, Martin Honnen <mahotr...@yaho o.dewrote:
Nick wrote:
I have a critical requirement where I need to club together 4 xml
files and display them in an sibngle HTML report. The xmls are
generated by Java application by a normal file I/O.
Is there a way I can club them together in a presentable format for
reporting purpose ?
So for .g. a.xml, b.xml, c.xml and d.xml. These xmls I want to display
in an html report say report.html in a 4 columns in java.

XSLT can transform XML to HTML and it can process multiple input
documents using the XSLT function named document:http://www.w3.org/TR/xslt#document
Java 1.5 and later I think has XSLT 1.0 support and there are also
several third-party XSLT processor implementations in Java.

--

* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
Yes XSLT looks to be the way but can you help me out to find out how
can I make use of Java and xslt to join together 4 xmls in a single
html file. The 4 xmls needs to be displayed in a reportable format

Thanks in advance
Nick
Jun 27 '08 #3
Nick wrote:
Yes XSLT looks to be the way but can you help me out to find out how
can I make use of Java and xslt to join together 4 xmls in a single
html file. The 4 xmls needs to be displayed in a reportable format
Well there is no generic solution as it all depends on the structure of
your XML documents and which data exactly you want to extract and
include in the report.
If you show us the relevant XML and tell us the HTML you want to
generate then we can help authoring an XSLT stylesheet.
As for using Java and XSLT, the Java API is documented here:
http://java.sun.com/j2se/1.5.0/docs/...e-summary.html
If you need help with the Java code then ask in a Java newsgroup.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 27 '08 #4
There are many java-and-XSLT examples/articles/tutorials available. STFW?
Jun 27 '08 #5

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

Similar topics

4
9556
by: k.mitz | last post by:
Hi, I have a PHP application that allows users to generate a .pdf report of their database content. Normally, I've had to refresh a page to call the script to generate the report, so there's a second or so when the browser goes blank. I was wondering if it was possible to use AJAX to call the script to generate the report, then begin the download without refreshing the page (or in the case of I.E., leaving me with a blank window that...
4
7341
by: Andrew | last post by:
My VB Application opens an Access Report and has an option to generate the report in PDF once the report is closed. This is accomplished by: - Switching over to the Acrobat Printer (i.e. PDFWriter) from the default printer. - Setting a string type sub key "PDFFilename" in the registry "HKEY_CURRENT_USER\Software\Adobe\Acrobat PDFWriter" to store the PDF in a user selected directory with a filename that's determined by VB codes.
0
2263
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional assistance. I say additional because I've already had help which is greatly appreciated. I do try to take the time and understand the provided script in hopes on not having to trouble others on those. But here it goes...
2
1490
by: Hexman | last post by:
Hello All, I'm nearing the end of my current project and the users came up with 2 more requests. I'll talk about the first one in this message. I've developed (with much help from this group) a vb.net app and is being put into the users hands this week. I am using Crystal Report X to produce reports. The users now, rather than printing, want them emailed and produced in .pdf format also. So rather than me re-inventing the wheel, I'm...
0
1437
by: imranabdulaziz | last post by:
Dear All, I am making web application using Asp.net C#(Visual Studio2005). And Sql server 2005 as a back End. My question Is it possible to generate report in hindi (language) format( using anything crystal report or report services of sql server) . Every thing will be in English(all master and transaction entry form in english) only thing i want to generate report language be in hindi. Please suggest me some idea or give me some...
2
1179
by: AnitaFitz | last post by:
Hi I'm trying to generate an excel document using visual basic? I can preview the report fine but the users want me to generate the report to mirror an excel sheet and export. I was browsing the net but can't find anything relevant except for 'DoCmd.OutputTo acOutputReport, "name of report", acFormatRTF, , True which generates the data in a word document. If anyone has any ideas I'd appreciate it.
8
1992
ammoos
by: ammoos | last post by:
Friends .. I want to generate a report in the ASP.NET using C#. from Sybase database. There are two option to generate the report 1) Generate the Report on the Screen itself by using the datagrid 2)Generate PDF report. Displaying the report in the datagrid is easy.. But How can I convert that report to a PDF file…
6
2908
by: martin DH | last post by:
**Urgent Need** I'll throw out the basics and any assistance is very, very, very much appreciated! Access 2003 on XP On a form (frmMain) is an option group of check boxes (ReportFrame) from which a user can choose a specific report to generate. The user selects the report of choice then presses a comand button (CmdRunRpt). The command button runs using the code below: Private Sub CmdRunRpt_Click() If ReportFrame = 1 Then...
0
1156
by: Raja yashwanth Reddy Gunda | last post by:
Hi I couldn't generate any report.My application is developed using .Net(MDI Frame application-windows forms) and I am trying to generate the report but couldn't succeed.If I do the same funtionality as individual windows form application(not a MDI frame) I was able to generate the report. I feel I am facing the problem with the below function. ReportID = PEOpenPrintJob(ReportName); This is not returning any value.I am sure the...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10439
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.