How to wrap the XML data in table of a HTML?
04:20 28 Aug 2018

I have an HTML template where I need to display XML with tags inside th of a table. I tried the table-layout:fixed;word-wrap:break-word;width:100% for table tag, but it was dividing the table equally and text in th were not coming to new line as shown in below image.

 sample.html


 
  
 

Sample Table

Table Name Response Time (in sec.)
......Some XML....... 33.33 ......Some XML....... 22.33 ......Some XML....... 32.72 ......Some XML....... 34.30
javascript html css