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


Topics: User Forum
Sep 6, 2006 at 11:21 PM
Hi Simon,
I was looking at the source of your library, HtmlNodeNavigator seems very interesting.
But I am little perplexed about its use!!! Can you provide us with a simple sample, if possible?

Thanks a lot,
Sep 7, 2006 at 9:20 PM

In general, you don't use it directly. It is leveraged backstage by XPATH queries or XSLT transformations.

For example, when you do this;

HtmlNodecollection links = doc.DocumentNode.SelectNodes(".//a@href");

the selectNodes uses HtmlNodeNavigator...
Hope this helps