I have a form with certain number of input fields, but the form is not hard coded jsp, it is in XSL. The values entered by the user in the input fields are taken and a XML file is made. I want to input validation of all the fields at once with all the error messages returned back with the specific elements. How can I do that? This is not possible with XSD because it returns only one error at a time.