Solved

Obtaining values from inside a HTMLDocument

Posted on 2016-10-04
3
68 Views
Last Modified: 2016-10-05
I have a HTMLDocument object.  I would like to obtain the contents of the fifth column on a row inside a table where the third column of the row has some text "abc/xyz"

What is the best way to iterate through all the tables in the document and then for each table iterate through the rows and for each row to iterate through the columns.
I think I can get all the tables by the GetElementsByTagName but I don't see any easy way to iterate through the rows in each table that function returns or the columns in each row.
0
Comment
Question by:AndyAinscow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
ste5an earned 500 total points
ID: 41829463
There is no easy way. You need to iterate them, especially all columns, to see whether colspan/rowspan is active in some cells.
0
 
LVL 44

Author Comment

by:AndyAinscow
ID: 41829728
I was slowly coming to that conclusion.  Thanks.
0
 
LVL 44

Author Closing Comment

by:AndyAinscow
ID: 41829954
Thanks
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question