PHP handleiding

PHP TUIS PHP Inleiding PHP installeer PHP sintaksis PHP opmerkings PHP veranderlikes PHP Echo / Druk PHP datatipes PHP Strings PHP-nommers PHP Wiskunde PHP konstante PHP-operateurs PHP As...Anders...Elseif PHP skakelaar PHP-lusse PHP funksies PHP-skikkings PHP Superglobals PHP RegEx

PHP- vorms

PHP-vormhantering PHP-vorm validering PHP-vorm word vereis PHP-vorm URL/e-pos PHP-vorm voltooi

PHP Gevorderd

PHP datum en tyd PHP sluit in PHP-lêerhantering PHP-lêer oop/lees PHP-lêer skep/skryf PHP-lêer oplaai PHP-koekies PHP-sessies PHP filters PHP-filters Gevorderd PHP-terugbelfunksies PHP JSON PHP-uitsonderings

PHP OOP

PHP Wat is OOP PHP Klasse/Objekte PHP Konstrukteur PHP vernietiger PHP Toegangswysigers PHP erfenis PHP konstante PHP Abstrakte Klasse PHP-koppelvlakke PHP eienskappe PHP statiese metodes PHP Statiese Eienskappe PHP naamruimtes PHP Iterables

MySQL- databasis

MySQL-databasis MySQL Connect MySQL Skep DB MySQL Skep tabel MySQL Voeg data in MySQL Kry Laaste ID MySQL Voeg veelvuldige in MySQL voorberei MySQL Kies Data MySQL Waar MySQL Bestel deur MySQL verwyder data MySQL-opdateringsdata MySQL-limietdata

PHP XML

PHP XML-ontleders PHP SimpleXML-ontleder PHP SimpleXML - Kry PHP XML Expat PHP XML DOM

PHP - AJAX

AJAX Intro AJAX PHP AJAX-databasis AJAX XML AJAX Live Search AJAX-peiling

PHP voorbeelde

PHP voorbeelde PHP samesteller PHP vasvra PHP Oefeninge PHP-sertifikaat

PHP- verwysing

PHP Oorsig PHP Skikking PHP-kalender PHP datum PHP gids PHP fout PHP-uitsondering PHP lêerstelsel PHP filter PHP FTP PHP JSON PHP sleutelwoorde PHP Libxml PHP-pos PHP Wiskunde PHP Diverse PHP MySQLi PHP-netwerk PHP-uitsetbeheer PHP RegEx PHP SimpleXML PHP-stroom PHP-string PHP veranderlike hantering PHP XML-ontleder PHP zip PHP Tydsones

PHP libxml funksies


PHP libxml Inleiding

Die libxml-funksies en konstantes word saam met SimpleXML-, XSLT- en DOM-funksies gebruik.


Installasie

Hierdie funksies vereis die libxml-pakket. Laai af by xmlsoft.org


PHP libxml funksies

PHP : dui die vroegste weergawe van PHP aan wat die funksie ondersteun.

Function Description
libxml_clear_errors() Clears the libxml error buffer
libxml_disable_entity_loader() Enables the ability to load external entities
libxml_get_errors() Gets the errors from the the libxml error buffer
libxml_get_last_error() Gets the last error from the the libxml error buffer
libxml_set_external_entity_loader() Changes the default external entity loader
libxml_set_streams_context() Sets the streams context for the next libxml document load or write
libxml_use_internal_errors() Disables the standard libxml errors and enables user error handling

PHP Vooraf gedefinieerde libxml konstante

Constant Description
LIBXML_BIGLINES Make line numbers greater than 65535 to be reported correctly
LIBXML_COMPACT Set small nodes allocation optimization. This may improve the application performance
LIBXML_DTDATTR Set default DTD attributes
LIBXML_DTDLOAD Load external subset
LIBXML_DTDVALID Validate with the DTD
LIBXML_HTML_NOIMPLIED Set HTML_PARSE_NOIMPLIED flag. This turns off automatic adding of implied html/body elements
LIBXML_HTML_NODEFDTD Set HTML_PARSE_NODEFDTD flag. This prevents a default doctype to be added, if no doctype is found
LIBXML_NOBLANKS Remove blank nodes
LIBXML_NOCDATA Set CDATA as text nodes
LIBXML_NOEMPTYTAG Change empty tags (e.g. <br/> to <br></br>), only available in the DOMDocument->save() and DOMDocument->saveXML() functions
LIBXML_NOENT Substitute entities
LIBXML_NOERROR Do not show error reports
LIBXML_NONET Stop network access while loading documents
LIBXML_NOWARNING Do not show warning reports
LIBXML_NOXMLDECL Drop the XML declaration when saving a document
LIBXML_NSCLEAN Remove excess namespace declarations
LIBXML_PARSEHUGE Set XML_PARSE_HUGE flag. This relaxes any hardcoded limit from the parser, such as maximum depth of a document or the size of text nodes
LIBXML_PEDANTIC Set XML_PARSE_PEDANTIC flag. This enables pedantic error reporting
LIBXML_XINCLUDE Use XInclude substitution
LIBXML_ERR_ERROR Get recoverable errors
LIBXML_ERR_FATAL Get fatal errors
LIBXML_ERR_NONE Get no errors
LIBXML_ERR_WARNING Get simple warnings
LIBXML_VERSION Get libxml version (e.g. 20605 or 20617)
LIBXML_DOTTED_VERSION Get dotted libxml version (e.g. 2.6.5 or 2.6.17)
LIBXML_SCHEMA_CREATE Create default or fixed value nodes during XSD schema validation