trans_sax function

SAX transformation