PHP libxml Functions
PHP libxml Introduction
The libxml functions and constants are used together with SimpleXML, XSLT and
DOM functions.
Installation
These functions require the libxml package.
Download at xmlsoft.org
PHP libxml Functions
PHP: indicates the earliest version of PHP that supports the
function.
PHP libxml Constants
| Function |
Description |
PHP |
| LIBXML_COMPACT |
Set small nodes allocation optimization. This may improve
the application performance |
5 |
| LIBXML_DTDATTR |
Set default DTD attributes |
5 |
| LIBXML_DTDLOAD |
Load external subset |
5 |
| LIBXML_DTDVALID |
Validate with the DTD |
5 |
| LIBXML_NOBLANKS |
Remove blank nodes |
5 |
| LIBXML_NOCDATA |
Set CDATA as text nodes |
5 |
| LIBXML_NOEMPTYTAG |
Change empty tags (e.g. <br/> to <br></br>),
only available in the DOMDocument->save() and DOMDocument->saveXML()
functions |
5 |
| LIBXML_NOENT |
Substitute entities |
5 |
| LIBXML_NOERROR |
Do not show error reports |
5 |
| LIBXML_NONET |
Stop network access while loading documents |
5 |
| LIBXML_NOWARNING |
Do not show warning reports |
5 |
| LIBXML_NOXMLDECL |
Drop the XML declaration when saving a document |
5 |
| LIBXML_NSCLEAN |
Remove excess namespace declarations |
5 |
| LIBXML_XINCLUDE |
Use XInclude substitution |
5 |
| LIBXML_ERR_ERROR |
Get recoverable errors |
5 |
| LIBXML_ERR_FATAL |
Get fatal errors |
5 |
| LIBXML_ERR_NONE |
Get no errors |
5 |
| LIBXML_ERR_WARNING |
Get simple warnings |
5 |
| LIBXML_VERSION |
Get libxml version (e.g. 20605 or 20617) |
5 |
| LIBXML_DOTTED_VERSION |
Get dotted libxml version (e.g. 2.6.5 or
2.6.17) |
5 |
Reliable, Affordable, Feature-Rich Web Hosting!
Take the uncertainty out of Web hosting and let
GoDaddy.com put service, performance and value back in. No matter which
hosting type or plan you choose, your site receives 24/7
maintenance and protection in our world-class data center. Plus,
you get the expert, friendly service you deserve, from the
world's largest hostname provider.
With three plans to choose from and
prices starting at just $4.99 per month, GoDaddy.com is sure to have a plan that's
right-sized and right-priced just for you!
All plans feature FREE 24x7 setup, FREE 24x7 monitoring, best-
of-breed routers, firewalls and servers, 24x7 onsite physical security
and access to our exclusive Go Daddy Hosting Connection, THE place
to install over 30 FREE applications. Virtual Dedicated and Dedicated
Server plans also available.
Visit GoDaddy.com today.
Virtual Dedicated, Dedicated Server and unlimited plans also available.
Save 20% on 12 months or more of shared web hosting - Enter code w3s20off at checkout
|