File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes print table format  output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "print table format  output" Watch "print table format  output" New topic
Author

print table format output

kumar tnj
Greenhorn

Joined: Dec 19, 2006
Posts: 6
Hi,

I have parsed the data from xml using sax parser. and i write the code in java 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...


Regards,
kumar

Regards,
kumar
Gavin Tranter
Ranch Hand

Joined: Jan 01, 2007
Posts: 333
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 w3Schools

Hope this helps.
G
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: print table format output
 
Similar Threads
JTable
getting a html page in printable form
Using JTable
Printing a table
Printing HTML page using Java Print Service API by converting to Postscript