{
    "content": [
        {
            "type": "text",
            "text": "# XML::Grove::AsCanonXML (perldoc)\n\n## NAME\n\nXML::Grove::AsCanonXML - output XML objects in canonical XML\n\n## SYNOPSIS\n\nuse XML::Grove::AsCanonXML;\n# Using ascanonxml method on XML::Grove objects:\n$string = $xmlobject->ascanonxml( OPTIONS );\n# Using an XML::Grove::AsCanonXML instance:\n$writer = XML::Grove::AsCanonXML->new( OPTIONS );\n$string = $writer->ascanonxml($xmlobject);\n$writer->ascanonxml($xmlobject, $filehandle);\n\n## DESCRIPTION\n\n\"XML::Grove::AsCanonXML\" will return a string or write a stream of canonical XML for an XML\nobject and it's content (if any).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **AUTHOR**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::Grove::AsCanonXML",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::Grove::AsCanonXML - output XML objects in canonical XML",
        "synopsis": "use XML::Grove::AsCanonXML;\n# Using ascanonxml method on XML::Grove objects:\n$string = $xmlobject->ascanonxml( OPTIONS );\n# Using an XML::Grove::AsCanonXML instance:\n$writer = XML::Grove::AsCanonXML->new( OPTIONS );\n$string = $writer->ascanonxml($xmlobject);\n$writer->ascanonxml($xmlobject, $filehandle);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "perl",
                        "lines": 2
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::Grove::AsCanonXML - output XML objects in canonical XML\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use XML::Grove::AsCanonXML;\n\n# Using ascanonxml method on XML::Grove objects:\n$string = $xmlobject->ascanonxml( OPTIONS );\n\n# Using an XML::Grove::AsCanonXML instance:\n$writer = XML::Grove::AsCanonXML->new( OPTIONS );\n\n$string = $writer->ascanonxml($xmlobject);\n$writer->ascanonxml($xmlobject, $filehandle);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"XML::Grove::AsCanonXML\" will return a string or write a stream of canonical XML for an XML\nobject and it's content (if any).\n\n\"XML::Grove::AsCanonXML\" objects hold the options used for writing the XML objects. Options can\nbe supplied when the the object is created,\n\n$writer = XML::Grove::AsCanonXML->new( Comments => 1 );\n\nor modified at any time before writing an XML object by setting the option directly in the\n`$writer' hash.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "Comments\nBy default comments are not written to the output. Setting comment to TRUE will include\ncomments in the output.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Ken MacLeod, ken@bitsko.slc.ut.us\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "perl",
                        "content": "James Clark's Canonical XML definition <http://www.jclark.com/xml/canonxml.html>\n"
                    }
                ]
            }
        }
    }
}