HTMLAgilityPack iterate all text nodes only
问题 Here is a HTML snippet and all I want is to get only the text nodes and iterate them. Pls let me know. Thanks. <div> <div> Select your Age: <select> <option>0 to 10</option> <option>20 and above</option> </select> </div> <div> Help/Hints: <ul> <li>This is required field. <li>Make sure select the right age. </ul> <a href="#">Learn More</a> </div> </div> Result: Select your Age: 0 to 10 20 and above Help/Hints: This is required field. Make sure select the right age. Learn More 回答1: Something