man > CGI::XML(3pm)

📛 NAME

CGI::XML – Perl extension for converting CGI.pm variables to/from XML

🚀 Quick Reference

Use CaseCommandDescription
Create instance $q = new CGI::XML; Reads CGI parameters just like CGI.pm
CGI → XML $xml = $q->toXML; Convert all CGI variables to XML (no root element by default)
CGI → XML (with root) $xml = $q->toXML('cgi'); Wrap the generated XML in a <cgi> root element
XML → CGI $q->toCGI($xml); Parse XML and populate CGI parameters (overwrites existing values)

📖 SYNOPSIS

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);

📝 DESCRIPTION

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.

âš™ī¸ METHODS

â„šī¸ NOTE

CGI::XML does not currently handle multiple selections passed from HTML forms. This will be added in a future release.

👤 AUTHOR

Jonathan Eisenzopf <eisen AT pobox.com>

đŸ‘Ĩ CONTRIBUTORS

David Black <dblack AT candle.net>

📚 SEE ALSO

CGI::XML(3pm)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION âš™ī¸ METHODS â„šī¸ NOTE 👤 AUTHOR đŸ‘Ĩ CONTRIBUTORS 📚 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-18 20:00 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!