XML(3pm) | User Contributed Perl Documentation | XML(3pm) |
CGI::XML - Perl extension for converting CGI.pm variables to/from XML
use CGI::XML; $q = new CGI::XML; # convert CGI.pm variables to XML $xml = $q->toXML; $xml = $q->toXML($root); # convert XML to CGI.pm variables $q->toCGI($xml);
The CGI::XML module converts CGI.pm variables to XML and vice versa.
CGI::XML is a subclass of CGI.pm, so it reads the CGI variables just as CGI.pm would.
CGI::XML does not currently handle multiple selections passed from HTML forms. This will be added in a future release.
Jonathan Eisenzopf <eisen@pobox.com>
David Black <dblack@candle.superlink.net>
2022-06-10 | perl v5.34.0 |