Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Htmlagilitypack -> getting a data-eventid

Posted on 2014-02-12
2
Medium Priority
?
305 Views
Last Modified: 2014-02-28
Hi,

is it possible using htmlagaility pack to get the following

<div class="match event-information ui-event ui-27147167 ui-market ui-924_8157131 ui-no-status-message" data-eventId="27147167" data-marketId="924.8157131">

Open in new window


I have a loop that goes through a list of matches and i need to get the value data-eventId.

I would also need to search where class begins with match event-information as i wont have the event id to call the rest.
0
Comment
Question by:runnerjp2005
[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 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 39853827
After using the SelectNode, you can use .Attributes property.
0
 

Author Closing Comment

by:runnerjp2005
ID: 39894316
A short simple answer :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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 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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 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