in reply to Forms and XML
I think you are looking for a module that supports the XForms Standard. I did a quick search on CPAN and came up with XML::XForms::Generator. I have not used it but it might be a good place to start.
Results (344 votes). Check out past polls.