How to remove duplicate XML nodes using XSLT

前端 未结 3 651
日久生厌
日久生厌 2020-12-03 19:47

I\'ve got an extremely long XML file, like


   
      context1
      test1
         


        
3条回答
  •  隐瞒了意图╮
    2020-12-03 20:31

    Your xml and question are kind of unclear, but what you're looking for is commonly called the Muenchian Grouping method - it's another way of asking for distinct nodes. With the appropriate keys this can be done very efficiently.

提交回复
热议问题