in reply to Re: hash XML rounding trip
in thread hash XML rounding trip

GroupTags => { '' => 'g' } this produced 2 'g' records with 1 array item in each
GroupTags => { 'g' => 'select' } <g> <select> <high>3</high> <low>3</low> <percent>30</percent> <select>any</select> </select> </g>

Replies are listed 'Best First'.
Re^3: hash XML rounding trip
by dragonchild (Archbishop) on Aug 27, 2004 at 14:12 UTC
    First off, it's really helpful if you provide output that correlates to your input. Otherwise, I can't see if there's anything wrong. Remember - I have absolutely no information save for what you give me. If that information comes from two sources, I can't make heads or tails of it.

    Second - I would try the second option with more than one element in the array and see what the XML looks like. I suspect that it will be doing what you want it to do.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested