Looks like you can use `//span[contains(@class, "sitetitle") and ./parent::a/following-sibling::div]` to filter out non-article entries from ToC (only looked at your example)