I have never used Yield before but need it or something like it.
I am iterating through an entire XML document for a defined set ot tags or arrays of tags. I want to retrieve every tag in the XML document.
How do I do this with Yield? I imagined the function would iterate through them all and return one, the resume at the next node when the function's called again.
Please let me know...