Modified ASTool with objectifying by xmltype