On Apr 2, 2008, at 16:50, Henri Sivonen wrote:
if (next = current.firstChild) { current = next; continue; } break;
Please disregard that break;. (Left-over from a switch that was obscuring the main point of the algorithm.)
-- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/