A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
print table format output
Joined: Dec 19, 2006
Feb 26, 2007 00:22:00
I have parsed the data from xml using sax parser. and i write the code in
to print the result.
Then, How i will print the result in table format.(but the code should be .java file)
Is there any idea, tell me or give some sample code.
give some sample code or correct website id if any...
Joined: Jan 01, 2007
Feb 26, 2007 05:52:00
Hi, if you have an xml file and wish to output it as a table, it would depend on what that table was.
If the output is for display then as the data is XML I think my first stop would be to use XSLT to translate it to the table format, espically if it is too be a HTML table.
A good, or at leats i felt it was good XSLT beginners guide can be found over at
Hope this helps.
I agree. Here's the link:
subject: print table format output
getting a html page in printable form
Printing a table
Printing HTML page using Java Print Service API by converting to Postscript
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014