This project has moved. For the latest updates, please go here.


Topics: User Forum
Sep 6, 2006 at 10: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 8: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