How to don't parse void tags?

Topics: Developer Forum, User Forum
Sep 30, 2007 at 9:19 PM
Edited Sep 30, 2007 at 9:20 PM
I have parsed some html, in which are table with 3 rows. But the DOM is:


where #text(0) - HTMLNode with " " InnerText and " " InnerHtml.

How can I do this: do not parse such "void" nodes?
Nov 17, 2007 at 4:57 PM
This is not directly possible. You can however skip the empty nodes using XPATH, as SelectNodes("//*text() != '');