Re: Need help to generate critical report
- From: rossum <rossum48@xxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 22:08:41 +0100
On Tue, 29 Apr 2008 09:41:35 -0700 (PDT), pooja.shirwalkar@xxxxxxxxx
wrote:
I have a critical requirement where I need to club together 4 xmlYes.
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 ?
Yes. Use an HTML table with four columns. Format each XML element
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.
into the next cell of the appropriate column. Generate the HTML as
text from within Java.
<html>
<head>
<title>Table Demo</title>
</head>
<body>
<h1>Table Demo</h1>
<table>
<tr>
<th>Column One Header</th>
<th>Column Two Header</th>
<th>Column Three Header</th>
<th>Column Four Header</th>
</tr>
<tr>
<td>C1 Row One</td>
<td>C2 Row One</td>
<td>C3 Row One</td>
<td>C4 Row One</td>
</tr>
<tr>
<td>C1 Row Two</td>
<td>C2 Row Two</td>
<td>C3 Row Two</td>
<td>C4 Row Two</td>
</tr>
<tr>
<td>C1 Row Three</td>
<td>C2 Row Three</td>
<td>C3 Row Three</td>
<td>C4 Row Three</td>
</tr>
</table>
</body>
</html>
It is difficult to be more specific without knowing more about the
XML.
Please help.
Cheers
Nick
.
- References:
- Need help to generate critical report
- From: pooja . shirwalkar
- Need help to generate critical report
- Prev by Date: Inconsistent CPU usage
- Next by Date: Re: What is the Latest JVM Specification Document? The 2nd Edition?
- Previous by thread: Need help to generate critical report
- Next by thread: Need help to generate critical report
- Index(es):
Relevant Pages
|