Transform stream implemented using SAX parser