I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-10-04 14:16:16-07 by nothung
problem with twig_roots and flushing
Hi, i have some documents with a structure like
<root> <para> ... para-stuff </para> ... more para's <table> ... table-stuff </table> ... more para's and tables. </root>
so i've set the twig_roots as follows:
twig_roots => { "para" => 1, "table" => 1, }
and added the corresponding twig_handlers. At the end of the para-handler and the table-handler i use flush to flush up to this point (or that is what i thought). But when it gets to the table-handler, the element is already flushed. Maybe i dont understand the underlying system, but i thougth this was the right way to do a memory-efficient parsing. Can anyone help me understand my error? Thanks in advance.
Direct Responses: Write a response