Remove elements based on other element's value — XSLT

前端 未结 4 1137
旧时难觅i
旧时难觅i 2020-12-20 03:36

I have a style-sheet that I am using to remove certain elements based on the value of an other element. However, it is not working ...

Sample Input XML



        
4条回答
  •  鱼传尺愫
    2020-12-20 04:00

    A better pattern in XSLT than using is to add new templates with match conditions:

    
    

提交回复
热议问题