How to replace a node-name with another in Xslt?

后端 未结 3 661
渐次进展
渐次进展 2020-12-17 05:34

Bad wording on the question, sorry about that. Will try to explain what I\'m trying to do. Basically I have the output from a search as Xml and in that Xml there is a node l

3条回答
  •  离开以前
    2020-12-17 06:15

    The best thing to do in such situations is to recursively copy nodes from input to output and override the nodes that you want to treat differently. The key idea is that the text strings are nodes which can be copied too. Here's an example:

    
        
            
        
    
    
    
        
            
        
    
    

提交回复
热议问题