Externalize XML filter processing from to utility method
Refactor keyref module to create SAX pipe directly