我可以使用 HTMLAgility 将 OR 子句放在节点选择中吗
(HtmlAgilityPack.HtmlNodeCollection)doc.DocumentNode.SelectNodes("//td[@class=\"roomPrice figure\"]");
我需要的是有时它应该像SelectNodes("//td[@class=\"roomPrice figure\"]");
有时它像SelectNodes("//td[@class=\"roomPrice figure bb\"]");
我需要同时获得两个课程roomPrice figure
或roomPrice figure bb
我怎样才能做到这一点。
谢谢你的帮助