Hello,
I am sending small patch, that allows hooking transformation stage of parser.
RegardsPavel Stehule