Hi,
I was actually wondering if one of you can EXPLAIN to me how I would parse the following:

It is a schedule for 2008 soccer.

http://web.mlsnet.com/mls/components...ason_print.jsp

I looked at the source, and its relatively easy source, so this is what I want to do:

I enter a loop to look for <strong> </strong> in between that is the date, so I make a variable for the date.

I make another loop that reads the file until it reaches the next <strong>.

But this is where I am having problems visualizing:

<div class="sm">
<strong>Saturday,
March 29, 2008</strong>
</div>
<div class="xsm gameday">Toronto FC at Columbus Crew, 4:00 p.m.
<span class="tv">DK, MLSLIVE.tv
</span>
<br>Chicago Fire at Real Salt Lake, 6:00 p.m.
<span class="tv">DK, MLSLIVE.tv
</span>
<br>Houston Dynamo at New England Revolution, 7:30 p.m.
<span class="tv">FSC, FSE
</span>
<br>D.C. United at Kansas City Wizards, 8:00 p.m.
<span class="tv">DK, MLSLIVE.tv
</span>
<br>Los Angeles Galaxy at Colorado Rapids, 9:30 p.m.
<span class="tv">FSC, FSE, HDNet
</span>
<br>
</div>
<div class="sm">
<strong>Sunday,
March 30, 2008</strong>
</div>
<div class="xsm gameday">Chivas USA at FC Dallas, 3:00 p.m.
<span class="tv">TeleFutura
</span>
<br>
</div>
<div class="sm">
<strong>Thursday,
April 3, 2008</strong>
</div>
<div class="xsm gameday">New England Revolution at Chicago Fire, 8:30 p.m.
<span class="tv">ESPN2, Deportes
</span>
<br>San Jose Earthquakes at Los Angeles Galaxy, 10:30 p.m.
<span class="tv">ESPN2, Deportes
</span>
<br>
</div>
as you see the acutally [team] at [team] don't have any HTML tags marked around them so how would I get the information?

By the way, I am just outputting into a CSV, or XML, any organzied manner which I can use later on for future projects.