How to mimic copy-namespaces=“no” in XSLT 1.0?

前端 未结 1 508
盖世英雄少女心
盖世英雄少女心 2020-11-30 10:21

I want to rewrite this xslt piece in XSLT 1.0, which does not support \"copy-namespaces\".



        
1条回答
  •  攒了一身酷
    2020-11-30 11:17

    The following mimics the XSLT 2.0 construct:

    Create templates in a mode that will re-construct your nodes without namespaces:

    
    
    
        
            
            
        
    
    
    
        
    
    

    Apply-templates for the desired element(s) in that mode:

    
    

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