Extract Xpaths of all nodes and then their attributes

前端 未结 1 839
南笙
南笙 2021-01-22 11:49

I am struggling with xslt from the past 2 days, owing to my starter status.My requirement is that given any input XML file ,I want the output to be a list of all the XPaths of a

1条回答
  •  旧时难觅i
    2021-01-22 12:34

    I think there's a discrepancy between your sample input and output, in that the output describes a filter element with two conditions that's not in the source XML. At any rate, I believe this works:

    
      
      
      
        
        
        
    
      
    
      
      
        
      
    
      
      
        
        
    
        
      
    
      
      
        
        
        
          
        
      
    
      
      
    
    

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