Selecting/matching elements in a namespace

后端 未结 2 1832
渐次进展
渐次进展 2020-12-22 05:49

I have a xml and xsl that need to generate another xml, but because of \'xmlns\', it generates an empty xml. Without \'xmlns\' in the root of XML, it works fine. The follow

2条回答
  •  礼貌的吻别
    2020-12-22 06:22

    Use xsl:element with namespace attribute

    
      
         
           
           
        
      
    
    
    

    It will create element with computed name( Static for us ) and allow to add namespace attribute

提交回复
热议问题