How to replace a tag with another tag in xml using xsl

前端 未结 2 1391
予麋鹿
予麋鹿 2021-01-02 23:40

My xml file looks like below.

  
  86
  100
  1.0
           


        
2条回答
  •  旧时难觅i
    2021-01-03 00:19

    This is the typical task for the identity transform (the first template rule in the transform below). Just two overrides (the last two rules).


    XSLT 1.0 tested under Saxon 6.5.5

    
        
        
    
        
            
                
            
        
    
        
            
        
    
        
            
            _1.0
        
    
    
    

提交回复
热议问题