CGI::XML(3pm) - phpMan

Command: man perldoc info search(apropos)  


XML(3pm)                       User Contributed Perl Documentation                       XML(3pm)



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

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
$q = new CGI::XML
    creates a new instance of CGI::XML. You also have access to all of the methods in CGI.pm.

$q->toXML([$root])
    where $root is an optional parameter that specifies the root element. By default, toXML will
    not return a root element.

$q->toCGI($xml)
    where $xml is the XML you would like to convert to CGI.pm parameters. Values in the XML will
    overwrite any existing values if they exist.

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
       perl(1), XML::Parser(3).



perl v5.8.4                                 2005-01-18                                   XML(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Under GNU General Public License
2008-11-21 04:08 @38.103.63.57 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!