You could just use an if/continue within the inner foreach loop, something like this (making sure the two activity names in the array $activities are correct):
<?php
$url = 'http://tides.obinet.net';
$xml = simplexml_load_file($url);
// add this:
$activities = array('High Tide', 'Low Tide');
foreach($xml->Tidedata->Day as $day)
{
if($day->Date == date('Y-m-d'))
{
echo "<table>\n";
foreach($day->Event as $event)
{
// and add this:
if(!in_array($event->Activity, $activities))
{
continue; // go to next event
}
printf("<tr><td>%s:</td><td>%s%s</td></tr>\n",
$event->Time,
$event->Activity,
(isset($event->Height)) ? " ({$event->Height})" : '');
}
echo "</table>\n";
break;
}
}
?>