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

Xml tree is not right

Topics: User Forum
Jan 12, 2007 at 7:00 AM
I tried to parse The xml document generated by Html Agility Pack has different structure as the IE DOM tree.

With xpath: "/html/body/table/tr/td@class='ContentPane'/center/table/tr/td/li/ul@class='compactlist'/li/a", the IE DOM can get the deepest level links, but xml document has a wrong tree structure.

I used to have similar problems, but fixed by using OptionFixNestedTags. But this time, I tried all different options without any luck.

Does anyone know how to fix it?