Since DOMIT! is not an extension, it requires no special setup on your server. You will, however, need to have the following files present on your server filesystem:
xml_domit_include.php - include file for DOMIT!, ensures that include paths are resolved properly.
xml_domit_shared.php - shared code for DOMIT! and DOMIT! Lite.
xml_domit_parser.php - the main DOMIT! php file.
xml_domit_utilities.php - required if you want to render your XML as a normalized (whitespace formatted) string or if you want to use the parseXML method of DOMIT_Document.
xml_domit_getelementsbypath.php - required if you would like to search for elements in your DOMIT_Document using a path-based syntax.
xml_domit_nodemaps.php - data structures that contain collections of nodes
xml_domit_cache.php - simple caching class for DOMIT! and DOMIT! Lite documents
xml_saxy_parser.php - required if you would like to use the SAXY parser with DOMIT! instead of the Expat parser.
xml_domit_doctor.php - class for repairing malformed xml
php_file_utilities.php - generic file input / output utilities
php_http_client.php - generic http client class
php_http_connector.php - helper class for php_http_client
php_http_exceptions.php - http exceptions class
php_http_proxy.php - http proxy class
DOMIT! Lite
If you wish to use DOMIT! Lite, you will require the following files:
xml_domit_lite_include.php - include file for DOMIT! Lite, ensures that include paths are resolved properly.
xml_domit_shared.php - shared code for DOMIT! and DOMIT! Lite.
xml_domit_lite_parser.php - the main DOMIT! Lite php file.
xml_domit_utilities.php - required if you want to render your XML as a normalized (whitespace formatted) string or if you want to use the parseXML method of DOMIT_Lite_Document.
xml_domit_getelementsbypath.php - required if you would like to search for elements in your DOMIT_Lite_Document using a path-based syntax.
xml_domit_nodemaps.php - data structures that contain collections of nodes
xml_domit_cache.php - simple caching class for DOMIT! and DOMIT! Lite documents
xml_saxy_lite_parser.php - required if you would like to use the SAXY Lite parser with DOMIT! Lite instead of the Expat parser.
xml_domit_doctor.php - class for repairing malformed xml
php_file_utilities.php - generic file input / output utilities
php_http_client.php - generic http client class
php_http_connector.php - helper class for php_http_client
php_http_exceptions.php - http exceptions class
php_http_proxy.php - http proxy class
Including the DOMIT! Library in your Scripts
To use DOMIT! in your scripts, include the file xml_domit_include.php:
require_once('somepath/xml_domit_include.php');
To use DOMIT! Lite in your scripts, include the file xml_domit_lite_include.php:
require_once('somepath/xml_domit_lite_include.php');
|