Xslt : Create a namespace dynamically

后端 未结 1 1867
Happy的楠姐
Happy的楠姐 2020-12-11 13:56

Following are the nodes in XML Data

\"http://webser.part.site\"
nida


        
1条回答
  •  独厮守ぢ
    2020-12-11 14:39

    I. This XSLT 2.0 transformation:

    
        
        
    
     
         
          
          
         
     
    
    

    when applied on the provided XML document:

    
    

    produces the wanted, correct result (the 'web' namespace produced from the value of a parameter):

    
    

    II. This XSLT 1.0 transformation:

    
        
        
    
        
         
        
    
        
    
     
         
          
          
         
     
    
    

    when applied on the same XML document (above), again produces the wanted, correct result:

    
    

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