Find Node Ending Line

Aug 12, 2011 at 11:21 PM

Hello, I can't see to find the proper documentation for this.

I know it's possible to get the start index of a node, I'm trying to find where does the node ends.

Is this possible ? Or would I have to customize the source code to attatch the property I'm looking for.

Aug 13, 2011 at 1:20 AM

I've been tryting to edit the source code to add this property I'm looking for , I believe I must get the line position in which in the ending node is found.

I think that happens in the CloseCurrentNode() function in the HtmlDocument.cs file, but it's very difficult to understand what's going on in the code when there are not comments to indicate what that code is doing.

 

Can anyone help me out ? Cheers

Aug 14, 2011 at 2:30 AM

From my understanding of the code, it doesn't actually process nodes like "</div>" "</body", does it ?

Can anyone give me some guidance ?