And also, I don't really understand the difference between a valid document and a well formed one. Help?