Simplify a XML by keeping only 1 child of each node of depth 2

前端 未结 0 794
清歌不尽
清歌不尽 2021-02-05 23:16

I have a complex XML for which it\'s hard to see the structure because each node of level #2 have thousands of children. I\'d like to truncate the XML like this:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题