This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

print table format output

 
kumar tnj
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic