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

File: Util.php

Source Location: /XML_Util-1.2.1/Util.php

Classes:

XML_Util
utility class for working with XML documents

Page Details:

XML_Util

XML Utilities 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_UTIL_CDATA_SECTION [line 78]

XML_UTIL_CDATA_SECTION = 5
embedd content in a CData Section

[ Top ]



XML_UTIL_COLLAPSE_ALL [line 106]

XML_UTIL_COLLAPSE_ALL = 1
Collapse all empty tags.

[ Top ]



XML_UTIL_COLLAPSE_XHTML_ONLY [line 111]

XML_UTIL_COLLAPSE_XHTML_ONLY = 2
Collapse only empty XHTML tags that have no end tag.

[ Top ]



XML_UTIL_ENTITIES_HTML [line 101]

XML_UTIL_ENTITIES_HTML = 3
replace HTML entitites

[ Top ]



XML_UTIL_ENTITIES_NONE [line 83]

XML_UTIL_ENTITIES_NONE = 0
do not replace entitites

[ Top ]



XML_UTIL_ENTITIES_XML [line 89]

XML_UTIL_ENTITIES_XML = 1
replace all XML entitites

This setting will replace <, >, ", ' and &


[ Top ]



XML_UTIL_ENTITIES_XML_REQUIRED [line 95]

XML_UTIL_ENTITIES_XML_REQUIRED = 2
replace only required XML entitites

This setting will replace <, " and &


[ Top ]



XML_UTIL_ERROR_INVALID_CHARS [line 53]

XML_UTIL_ERROR_INVALID_CHARS = 51
error code for invalid chars in XML name

[ Top ]



XML_UTIL_ERROR_INVALID_START [line 58]

XML_UTIL_ERROR_INVALID_START = 52
error code for invalid chars in XML name

[ Top ]



XML_UTIL_ERROR_NON_SCALAR_CONTENT [line 63]

XML_UTIL_ERROR_NON_SCALAR_CONTENT = 60
error code for non-scalar tag content

[ Top ]



XML_UTIL_ERROR_NO_TAG_NAME [line 68]

XML_UTIL_ERROR_NO_TAG_NAME = 61
error code for missing tag name

[ Top ]



XML_UTIL_REPLACE_ENTITIES [line 73]

XML_UTIL_REPLACE_ENTITIES = 1
replace XML entities

[ Top ]



Documentation generated on Sun, 07 Dec 2008 21:00:04 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.