Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic table generation  RSS feed

 
Siddhesh Khedekar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My file parser application is parsing various XML files(but only one a time). The structure of all XML file is something as given below-


After parsing through such XML file I have a list of Hashmaps and a set of strings
In each Hashmap, key is tag name and value is tag data.
Set contains unique tag names (all is done through SAXParser).

Now my problem is that how to display the set elements as column header and only the values of each Hashmap per row in a table using JSP-bean-servlet/...
Any suggestions .



 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post a sample table which corresponds to the data you displayed in the XML ?
 
Siddhesh Khedekar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Table will be like -

firstName Lastname Age SSN
Fernando Torres 24 23324
William - - - - 33 - - - -
. . . .
. . . .



It should be a proper table ,but I am not able to post it properly in the exact format.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!