>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 ?
Yes.
>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.
Yes. Use an HTML table with four columns. Format each XML element
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