开发者

Xquery to get all nodes that has a particular attribue

开发者 https://www.devze.com 2023-01-15 01:11 出处:网络
I have a XML file that has lot of elements with a particular attribute say href. Is there any x query to ge开发者_JAVA技巧t all the nodes that has href = \"ABC.jpg\" ? If not what is the best way to d

I have a XML file that has lot of elements with a particular attribute say href. Is there any x query to ge开发者_JAVA技巧t all the nodes that has href = "ABC.jpg" ? If not what is the best way to do it ?


//*[@href = 'ABC.jpg']
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号