in reply to Re: Why oh why is working with XML so bloomin' difficult in Perl?
in thread Modified title: The structures created by many of the XML parsers in Perl appear unnecessarily deep in levels...

jeffa, I find it interesting that you munge XML without touching it (I assume), yet prefer inline approach to munging HTML..

Logically, HTML is an instance of XML and can be treated the same... at least that's how us users of HTML::Seamstress see it.

  • Comment on Re^2: Why oh why is working with XML so bloomin' difficult in Perl?

Replies are listed 'Best First'.
Re^3: Why oh why is working with XML so bloomin' difficult in Perl?
by jeffa (Bishop) on Jan 20, 2009 at 20:49 UTC

    The only thing i prefer when munging HTML is meeting my clients' needs while working in the framework that they have. The ideals proposed by your module are noble indeed, but then the real world rears its ugly head and shatters those notions. Build it, and they will change it. My issues, however, are not with what Perl solutions to use, but rather how easy it is for someone post what the OP did and get away with it. Clever trolls be among us.

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)