xml_indenter is a component for indenting XML.  You can pass it
either a string of XML or an XML object and it will indent it
properly for you.

This component is useful for when you generate XML programatically,
but would like it to be human readable.  If your XML only needs to
be machine readable, then there is no reason to use the xml_indenter
to format it.  However if you would like to be able to save your
XML and be able to easily edit or even just read it, using the
xml_indenter component to format it will make your life much easier.

You can change the number of steps and the step type the xml_indenter
uses to indent your XML.  You can change the step type by calling
either setUseTabs or setUseSpaces, and you can set the number to
use by calling setSteps.  The default step type is tabs and the
default step number is 1.

INSTALLATION:

You can put the xml_indenter component in any package you want,
however we recommend the package com.macromedia.xml which is where
the xmlIndenterExample.cfm file expects it to be.  If you decide
to put it in a different package, be sure to make the appropriate
changes to xmlIndenterExample.cfm.  For more information on
installation, see the included xml_indenter article.
