XML_Beautifier
[ class tree: XML_Beautifier ] [ index: XML_Beautifier ] [ all elements ]

File: Beautifier.php

Source Location: /XML_Beautifier-1.2.2/Beautifier.php

Classes:

XML_Beautifier
XML_Beautifier is a class that adds linebreaks and indentation to your XML files. It can be used on XML that looks ugly (e.g. any generated XML) to transform it to a nicely looking XML that can be read by humans.

Page Details:

XML_Beautifier

XML Beautifier package

PHP versions 4 and 5

LICENSE:

Copyright (c) 2003-2008 Stephan Schmidt <schst@php.net> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


XML_BEAUTIFIER_CDATA [line 65]

XML_BEAUTIFIER_CDATA = 1
CData

[ Top ]



XML_BEAUTIFIER_CDATA_SECTION [line 100]

XML_BEAUTIFIER_CDATA_SECTION = 128
cdata section

[ Top ]



XML_BEAUTIFIER_COMMENT [line 85]

XML_BEAUTIFIER_COMMENT = 16
comment

[ Top ]



XML_BEAUTIFIER_DEFAULT [line 105]

XML_BEAUTIFIER_DEFAULT = 256
default

[ Top ]



XML_BEAUTIFIER_DT_DECLARATION [line 95]

XML_BEAUTIFIER_DT_DECLARATION = 64
doctype declaration

[ Top ]



XML_BEAUTIFIER_ELEMENT [line 70]

XML_BEAUTIFIER_ELEMENT = 2
XML element

[ Top ]



XML_BEAUTIFIER_EMPTY [line 60]

XML_BEAUTIFIER_EMPTY = 0
element is empty

[ Top ]



XML_BEAUTIFIER_ENTITY [line 80]

XML_BEAUTIFIER_ENTITY = 8
entity

[ Top ]



XML_BEAUTIFIER_ERROR_NO_OUTPUT_FILE [line 115]

XML_BEAUTIFIER_ERROR_NO_OUTPUT_FILE = 151
could not write to output file

[ Top ]



XML_BEAUTIFIER_ERROR_UNKNOWN_RENDERER [line 120]

XML_BEAUTIFIER_ERROR_UNKNOWN_RENDERER = 152
could not load renderer

[ Top ]



XML_BEAUTIFIER_INCLUDE_PATH [line 54]

XML_BEAUTIFIER_INCLUDE_PATH = 'XML/Beautifier'
define include path constant

[ Top ]



XML_BEAUTIFIER_OVERWRITE [line 110]

XML_BEAUTIFIER_OVERWRITE = -1
overwrite the original file

[ Top ]



XML_BEAUTIFIER_PI [line 75]

XML_BEAUTIFIER_PI = 4
processing instruction

[ Top ]



XML_BEAUTIFIER_XML_DECLARATION [line 90]

XML_BEAUTIFIER_XML_DECLARATION = 32
XML declaration

[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:41:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.