编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « DOMNode::lookupPrefix
  • DOMNode::removeChild »
  • PHP Manual
  • DOMNode
  • Normalizes the node

DOMNode::normalize

(PHP 5, PHP 7)

DOMNode::normalize — Normalizes the node

说明

public DOMNode::normalize ( void ) : void

Remove empty text nodes and merge adjacent text nodes in this node and all its children.

返回值

没有返回值。

参见

  • » The DOM Specification
  • DOMDocument::normalizeDocument() - Normalizes the document

相关文章
php commonmark link concrete commonmark nodephp commonmark node text text constructionphp commonmark node visitationphp domcharacterdata append the string to the end of the character data of the nodephp domdocument creates new pi nodephp domnamednodemap retrieves a node specified by namephp domnode clones a nodephp domnode get line number for a nodephp domnode get an xpath for a nodephp domnode checks if node has attributesphp domnode checks if node has childrenphp domnode adds a new child before a reference nodephp domnode indicates if two nodes are the same nodephp domnode gets the namespace uri of the node based on the prefixphp domnode gets the namespace prefix of the node based on the namespace uriphp domnode normalizes the nodephp normalizer normalizes the input provided and returns the normalized stringphp splheap return current node indexphp tidynode checks if a node has childrenphp tidynode checks if a node has siblings
关注编程学问公众号
编程学问网 湘ICP备20001732号