Copy all elements of a namespace and nothing else

前端 未结 2 535
甜味超标
甜味超标 2021-01-25 03:36

We have a bunch of files that are html pages but which contain additional xml elements (all prefixed with our company name \'TLA\') to provide data and structure for an older pr

2条回答
  •  情书的邮戳
    2021-01-25 04:00

    This should do it:

    
      
      
    
      
    
      
        
          
        
      
    
    

    When run on your sample input (once the missing namespace declaration is added), the result is:

    
      
        
      
      
        
      
    
    

提交回复
热议问题