poj, thank you again. I read the node you mentioned but wasn't sure if you were implying there's no good solution, or if you were simply telling me to replace twig_roots with twig_handlers. The last person to post there seemed to be taking a shot in the dark, and no one confirmed whether that would work.

As for keep_atts_order I did discover that in the module docs but what confuses me on that is that if I add

keep_atts_order => 'TRUE',

under Windows (using ActivePerl) I get an error message, yet if I do the exact same thing on a Linux box it works with no complaints. Anyway, I did some more testing and found that neither the re-ordering of the data elements nor the blank lines seem to have any adverse affect on operation. The reordered data element don't bother me as much as the blank lines simply because if I am trying to look at the output they make it harder to see everything at a glance, but that's not all that big a deal either because this file isn't really meant to be read by humans, it's just an intermediate step in a process.

So thank you again and if you have any thoughts on what I can do about those initial blocks, as I explained in my previous post, I would much appreciate hearing them.


In reply to Re^4: How can I keep or discard certain blocks of an XML file based on first line of block? by Anonymous Monk
in thread How can I keep or discard certain blocks of an XML file based on first line of block? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.