Shifting row data in xsl 1.0

前端 未结 1 1676
终归单人心
终归单人心 2021-01-15 11:28

I have multiple Rows data in my XML like this -


    English1



        
1条回答
  •  旧巷少年郎
    2021-01-15 12:02

    This transformation:

    
     
     
     
    
     
      
      
     
     
    
    

    when applied on the provided XML (wrapped into a single top element to be made a well-formed XML document):

    
        
            English1
        
        
            Maths1
        
        
            Code1
        
        
            English2
        
        
            Maths2
        
        
            Code2
        
    
    

    produces the wanted result (in which the wanted elements are re-ordered:

    
       Code1
    
    
       English1
    
    
       Maths1
    
    
       Code2
    
    
       English2
    
    
       Maths2
    
    

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