gpt4 book ai didi

XPath 包含多个值之一

转载 作者:行者123 更新时间:2023-12-03 08:54:24 27 4
gpt4 key购买 nike

我有简单的 xpath

 /products/product[contains(categorie,'Kinderwagens')] 

它有效,但现在如何过滤多个类别值

喜欢
/products/product[contains(categorie,'Kinderwagens')]  +  
/products/product[contains(categorie,'Kinderwagens')]

最佳答案

这会起作用吗?

/products/product[contains(categorie,'Kinderwagens') or contains(categorie,'Wonderwagens')]

有一个类似的问题 here

关于XPath 包含多个值之一,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12152890/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com