How to make the location of cells XPATH / XSL, so that the first column was common, the second and third were divided into 3 lines, and the fourth into 2?

Table to be laid out

  • 3
    the essence of the question is not clear Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. - Anton Shchyrov
  • one
    I understood the question, now I will try to tell - Yuri
  • What is not clear in xsl? - nick_n_a
  • @Yuri, if you understand what the question is about, please add to it, so that, first, others understand it, and second, that the question and answer are useful for someone other than the author of the question. for this, in particular, you should replace the image with the text. - aleksandr barakin

1 answer 1

This is how it is done :)

th {text-align:center;} 
 <table border="1"> <thead> <tr><th rowspan="3">Day</th><th colspan="3">Seminar</th></tr> <tr><th colspan="2">Schedule</th><th rowspan="2">Topie</th></tr> <tr><th>Begin</th><th>End</th></tr> </thead> <tbody> <tr><td rowspan="2">Monday</td><td rowspan="2">8:00 am</td><td rowspan="2">5:00 pm</td><td>Introduction to XML</td></tr> <tr><td>Validity: DTD and Relax NG</td></tr> <tr><td rowspan="6">Tuesday</td><td rowspan="2">8:00 am</td><td rowspan="2">11:00 am</td><td rowspan="3">XPath</td></tr> <tr></tr> <tr><td rowspan="2">11:00 am</td><td rowspan="2">2:00 pm</td></tr> <tr><td rowspan="3">XSL Transformations</td></tr> <tr><td rowspan="2">2:00 am</td><td rowspan="2">5:00 pm</td></tr> <tr></tr> <tr><td>Wednasday</td><td>8:00 am</td><td>12:00 pm</td><td>XSL Formatting Objects</td></tr> </tbody> </table> 

  • one
    And if the question is on xsl? - nick_n_a
  • @nick_n_a, he talked about cells - Yuri
  • So the contents of both all and each individual cell can be specified by xpath request, of which consists of xsl. Let clarify the question. - nick_n_a
  • @nick_n_a, look at the picture. He did not know how to arrange these cells, as there - Yuri
  • Thank you very much! You all really helped me a lot :) Sorry that the question was so stupidly posed, I wildly panicked and nervous. - fff