XPath - Table 行中不包含 table headers

XPath - Table rows that do not contain table headers in them

我在 C# 中使用 WebRequest 下载网页的 HTML 并使用 XPath 和 HtmlAgilityPack 到 select 我想要的节点。我注意到 WebRequest returns a table 没有和说明符(我猜这些是在页面加载后通过 Javascript 注入的?)

无论如何,table 只是作为带有标签的标签下载的。但是,第一行是 header,我想跳过它。在 xpath 中有没有办法 select 标签内没有任何后代的所有标签?

这个 XPath,

//tr[not(th)]

将 select 没有 th 个子元素的所有 tr 个元素。