xsl: transforming a list into a 2-D table

前端 未结 4 1184
星月不相逢
星月不相逢 2021-01-12 16:32

Let\'s say I have this XML node:


    ...
    ...
    ...
    

        
4条回答
  •  执念已碎
    2021-01-12 17:26

    Just for style, this XSLT 1.0 stylesheet:

    
        
        
            
            

    With @Flack's answer input, output:

    1 2 3 4
    5 6 7 8
    9 10 11 12
    13 14 15 16
    17 18 19 20
    21 22 23 24
    25 26 27

提交回复
热议问题