PHP的XML预定义常量汇总
2014-08-05 09:52
197 查看
LIBXML_COMPACT (integer) | Activate small nodes allocation optimization. This may speed up your application without needing to change the code. Note: Only available in Libxml >= 2.6.21 |
LIBXML_DTDATTR (integer) | Default DTD attributes |
LIBXML_DTDLOAD (integer) | Load the external subset |
LIBXML_DTDVALID (integer) | Validate with the DTD |
LIBXML_NOBLANKS (integer) | Remove blank nodes |
LIBXML_NOCDATA (integer) | Merge CDATA as text nodes |
LIBXML_NOEMPTYTAG (integer) | Expand empty tags (e.g. <br/> to <br></br>) Note: This option is currently just available in the DOMDocument::save andDOMDocument::saveXML functions. |
LIBXML_NOENT (integer) | Substitute entities |
LIBXML_NOERROR (integer) | Suppress error reports |
LIBXML_NONET (integer) | Disable network access when loading documents |
LIBXML_NOWARNING (integer) | Suppress warning reports |
LIBXML_NOXMLDECL (integer) | Drop the XML declaration when saving a document Note: Only available in Libxml >= 2.6.21 |
LIBXML_NSCLEAN (integer) | Remove redundant namespaces declarations |
LIBXML_PARSEHUGE (integer) | Sets XML_PARSE_HUGE flag, which relaxes any hardcoded limit from the parser. |
LIBXML_XINCLUDE (integer) | Implement XInclude substitution |
LIBXML_ERR_ERROR (integer) | A recoverable error |
LIBXML_ERR_FATAL (integer) | A fatal error |
LIBXML_ERR_NONE (integer) | No errors |
LIBXML_ERR_WARNING (integer) | A simple warning |
LIBXML_VERSION (integer) | libxml version like 20605 or 20617 |
LIBXML_DOTTED_VERSION (string) | libxml version like 2.6.5 or 2.6.17 |
相关文章推荐
- Validator 验证 - 在validation.xml中定义常量
- 两个根目录有关的PHP预定义常量
- php跨平台总结 常用预定义常量
- APC常量定义与PHP的define比较
- php中const与define定义常量的区别
- PHP学习之六:预定义常量
- 原创:PHP内核研究常量定义 define/defined
- PHP常量声明、使用方法|define()函数定义常量类似于全局
- PHP里的字符串定义小技巧汇总
- PHP 如何得到当前页面中所有已定义的变量和常量
- 一:PHP语言基础_PHP常量_预定义常量
- PHP中常量的定义
- PHP中常量的定义和使用
- PHP 类中定义常量,并对常量的使用方法(转帖)
- php const 用法详解 定义 常量
- PHP里的字符串定义小技巧汇总
- php 如何判断一个常量是否已经定义
- PHP中的预定义常量__FILE__
- PHP里的字符串定义小技巧汇总
- PHP 学习笔记——定义常量变量。