XSLT counting elements with a given value

后端 未结 3 797
自闭症患者
自闭症患者 2021-01-01 14:34

I need to count the number of elements in an XML file that have a particular value (to verify uniqueness). The XML file looks like this:

EDIT: I upd

3条回答
  •  清酒与你
    2021-01-01 14:43

    
    

    Un-tested but I think that should work. I'm assuming the Property nodes are direct children of the root node and therefor taking out your descendant selector for peformance

提交回复
热议问题