AS3 implementation of XStream