Removing duplicates in xml with xslt

前端 未结 4 812
有刺的猬
有刺的猬 2021-01-06 01:08

I need to remove duplicates in the following xml:


          


        
4条回答
  •  情歌与酒
    2021-01-06 01:32

    You need to group them together using the Muenchian grouping method. Or the more specific grouping functions in xslt 2.0. Here are two relevant stack overflow questions:

    How to use group by in xslt

    How to output duplicate elements using XSLT?

提交回复
热议问题