XML::Template::Element::Form - XML::Template plugin module for the form namespace.
This XML::Template plugin module implements the form namespace tagset. The block namespace includes tags that simplify the creation of HTML forms.
XML::Template::Element::Form inherits its constructor method, new, from XML::Template::Element.
new
This method implements the beginning of an HTML select form element. The following attributes are used:
The name of the select element.
The value of the option child to select by default.
This method implements the option section of an HTML select form element. The label of the option is contained in the content of this element The following attributes are used:
The value of the option.
This method implements the upload tag, which is used to handle files uploaded via CGI. The following attributes are used:
The name of the upload form element used to upload the file.
The file spec to which the uploaded file will be saved.
Jonathan Waxman <jowaxman@bbl.med.upenn.edu>
Copyright (c) 2002-2003 Jonathan A. Waxman All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install XML::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Template
CPAN shell
perl -MCPAN -e shell install XML::Template
For more information on module installation, please visit the detailed CPAN module installation guide.