On Thu, Dec 1, 2011 at 7:02 AM, mythpills P. <pillay.mithun / gmail.com> wrote:
> how do i loop through a xml and break when i find the node with a
> specific value..really struggling to break out of a xml loop..most of
> the iterators just loop but cannot be break - ed

Use a proper XPath expression.  Other than that I second what Jake said.

Kind regards

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/