output AST's xml file successfully