transpose/swap x,y axes in html table

后端 未结 1 686
情话喂你
情话喂你 2021-01-14 09:33

I have an html table that needs rotating / axis swaping. It can be done off line. Any one know of a tool I can use to do it?

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-14 10:09

    This transformation:

    
     
    
     
         
          
          
           
            
            
           
          
         
     
    
    

    when applied on this XML document:

    A11 A12 A13 A14 A15
    A21 A22 A23 A24 A25
    A31 A32 A33 A34 A35

    produces the wanted, correct results:

    A11 A21 A31
    A12 A22 A32
    A13 A23 A33
    A14 A24 A34
    A15 A25 A35

    Do note: The assumption is that the table has regular structure.

    0 讨论(0)
提交回复
热议问题