Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async Task AddLanguages()
- {
- try
- {
- // //*[@id=":6"]/div/text()
- HtmlDocument document = new HtmlDocument();
- document.LoadHtml(html);
- for (int i = 6; i <= 9; i++)
- {
- //*[@id=":6"]/div/text() //*[@id=":6"]/div/div
- Debug.WriteLine(i);
- var element = document.DocumentNode.SelectSingleNode("//*[@id=':7']/div/text()");
- Trace.WriteLine(element == null, "Element is null");
- }
- }
- catch (Exception e)
- {
- this.ShowMessageAsync("Hata!", "Dilleri yüklerken hata ortaya çıktı.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement