{
    "content": [
        {
            "type": "text",
            "text": "# CGI::XML (perldoc)\n\n## NAME\n\nCGI::XML - Perl extension for converting CGI.pm variables to/from XML\n\n## SYNOPSIS\n\nuse CGI::XML;\n$q = new CGI::XML;\n# convert CGI.pm variables to XML\n$xml = $q->toXML;\n$xml = $q->toXML($root);\n# convert XML to CGI.pm variables\n$q->toCGI($xml);\n\n## DESCRIPTION\n\nThe CGI::XML module converts CGI.pm variables to XML and vice versa.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **NOTE**\n- **AUTHOR**\n- **CONTRIBUTORS**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "CGI::XML",
        "section": "",
        "mode": "perldoc",
        "summary": "CGI::XML - Perl extension for converting CGI.pm variables to/from XML",
        "synopsis": "use CGI::XML;\n$q = new CGI::XML;\n# convert CGI.pm variables to XML\n$xml = $q->toXML;\n$xml = $q->toXML($root);\n# convert XML to CGI.pm variables\n$q->toCGI($xml);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "NOTE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONTRIBUTORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "perl",
                        "lines": 1
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "CGI::XML - Perl extension for converting CGI.pm variables to/from XML\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use CGI::XML;\n$q = new CGI::XML;\n\n# convert CGI.pm variables to XML\n$xml = $q->toXML;\n$xml = $q->toXML($root);\n\n# convert XML to CGI.pm variables\n$q->toCGI($xml);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The CGI::XML module converts CGI.pm variables to XML and vice versa.\n\nCGI::XML is a subclass of CGI.pm, so it reads the CGI variables just as CGI.pm would.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$q = new CGI::XML\ncreates a new instance of CGI::XML. You also have access to all of the methods in CGI.pm.\n\n$q->toXML([$root])\nwhere $root is an optional parameter that specifies the root element. By default, toXML will\nnot return a root element.\n\n$q->toCGI($xml)\nwhere $xml is the XML you would like to convert to CGI.pm parameters. Values in the XML will\noverwrite any existing values if they exist.\n",
                "subsections": []
            },
            "NOTE": {
                "content": "CGI::XML does not currently handle multiple selections passed from HTML forms. This will be\nadded in a future release.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Jonathan Eisenzopf <eisen@pobox.com>\n",
                "subsections": []
            },
            "CONTRIBUTORS": {
                "content": "David Black <dblack@candle.superlink.net>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "perl",
                        "content": ""
                    }
                ]
            }
        }
    }
}