Looks very nice, thank you! and it works, at least for my sample XML.
I'm not familiar with this handler construction:
'div[@class="event"]'
It looks rather XSL-ish. Is there some explanation of how that works? The reason I ask (sheepishly) is that my pseudo XML is simpler than the real stuff, meaning it has sub-levels that I want to parse, e.g.:
<h3 class="current-day">Thursday, February 2</h3>
<div class="event">
<div class="title">Event 1</div>
<span class="time">7:30pm</span>
<span class="location">Main Street</span>
</div>
<div class="event">
<div class="title">Event 2</div>
<span class="time">9pm</span>
<span class="location">Green Street</span>
</div>
Sorry not to be more detailed in my original post. Much appreciated.