in reply to 4Re: Parsing XML into a Hash
in thread Parsing XML into a Hash

Nested schmested! Those examples still look like a flat table to me. ;^) ... Seriously, this could just mean changing the names/regex patterns to identify the tags that really matter, including their attributes, as the need arises.

Granted, the poor soul might someday have to face elements whose attributes and/or content structure show significant variability, or even -- God help him -- recursion. Then he's really not in flat-table-land anymore, and it's time to bring in the right tools (a real parser).

Replies are listed 'Best First'.
Re: Re^5: Parsing XML into a Hash
by mcogan1966 (Monk) on Nov 04, 2003 at 12:53 UTC
    Nested schmested! Those examples still look like a flat table to me.

    And they are.
    And they will continue to be.
    I am Lord and Master of this code.
    All it has to do is what they want it to do.
    I get to make the design decision.
    So, if it's a flat-file XML format, then that's what it is.
    And nothing goes into that file without my approval now.
    *insert evil laugh here*