XSLT - How to select XML Attribute by Attribute?

前端 未结 5 652
陌清茗
陌清茗 2020-12-25 12:20

this is the structure of my source xml:






        
5条回答
  •  醉话见心
    2020-12-25 13:08

    I would do it by creating a variable that points to the nodes that have the proper value in Value1 then referring to t

    
    
    

    Everyone else's answers are right too - more right in fact since I didn't notice the extra slash in your XPATH that would mess things up. Still, this will also work , and might work for different things, so keep this method in your toolbox.

提交回复
热议问题