Hi everyone. I am trying to figure out the best way to stop an XML/RSS parser once I have gotten three or so tags and don't need any more. I am certain that this involves the function that handles the endElement of an item.
I can't throw in an exit() or die() since the page had other PHP stuff going on further down the page.
Also, I am creating the parser class from scratch so there's nothing that I can't change or aurment.