This function provides the XML interface to create a form