by Roedy Green <see_website@[EMAIL PROTECTED]
>
May 4, 2008 at 06:26 AM
On Tue, 29 Apr 2008 09:43:53 -0700 (PDT), Nick
<nachiket.shirwalkar@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted
someone who said :
>Is there a way I can club them together in a presentable format for
>reporting purpose ?
see http://mindprod.com/jgloss/xml.html
for how to read the XML document to create a tree of nodes in RAM.
Then just traverse the tree to extract the data you need to create
your html.
you might create some htmlgenerator functions to help you keep
everything balanced and nested correctly. e.g.
span ( cssclass, text ) --> <span class="xxx">text"</span>
bold ( text ) --> <b>text</b>
etc.
Make sure you have a style sheet to keep this program as simple as
possible. You can change the look by fiddling the style sheet.
see http://mindprod.com/jgloss/htmlcheat.htmlhttp://mindprod.com/jgloss/css.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com