in reply to Nesting below emptiness and/or inverting a hash.
Returning to your question... usually you need a push down stack to handle recursive parsing like you are describing. When you see an opening tag, push it. When you see a closing tag pop it. In between walk up or down the stack's array to see where you are at present.
Phil
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Nesting below emptiness and/or inverting a hash.
by Moron (Curate) on Jan 22, 2007 at 16:35 UTC |