Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Need help t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 16038 of 16078
Post > Topic >>

Re: Need help to generate critical report

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.html
http://mindprod.com/jgloss/css.html

-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com




 3 Posts in Topic:
Need help to generate critical report
Nick <nachiket.shirwal  2008-04-29 09:43:53 
Re: Need help to generate critical report
Alex.From.Ohio.Java@[EMAI  2008-05-02 19:48:35 
Re: Need help to generate critical report
Roedy Green <see_websi  2008-05-04 06:26:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 2:55:08 CDT 2008.