A StAX-compliant Xml Generator