Is there a way to do this during the foreach loop?
most likely
That's about all I can say based on the information you gave. To really answer the question, I would need to see a little bit of code. Do you set handlers on typeC? From your explanations I half-suspect you load the entire tree in memory, but really I have no way to know.
In reply to Re: XML-Twig: more efficient tree processing
by mirod
in thread XML-Twig: more efficient tree processing
by zuma53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |