This project has moved and is read-only. For the latest updates, please go here.

How to don't parse void tags?

Topics: Developer Forum, User Forum
Sep 30, 2007 at 10:19 PM
Edited Sep 30, 2007 at 10: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 5:57 PM
This is not directly possible. You can however skip the empty nodes using XPATH, as SelectNodes("//*text() != '');