It might well be said that Twig is expressly designed to work at a higher level of abstraction ... and it is a level of abstraction that is very often useful and appropriate. I heartily recommend that you take a very close look at Twig, and that you try to get inside of its' designer's head, so to speak. You really do have to understand how Twig approaches its task, and funnel your project in that same direction. But, if you do that, Twig is a power-tool extraordinaire.
in reply to XML::Twig basic handlers