The way you have laid it out - With ctilmes' comments included - would seem to be an ideal case for a lightweight OO approach?
In reply to Re: A data structure for XML generation
by BioLion
in thread A data structure for XML generation
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |