Add func save XML and Upgrade Validate library

validate Date
Add coment and delete garbage