编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « XMLDiff\DOM::diff
  • XMLDiff\Memory »
  • PHP Manual
  • XMLDiff\DOM
  • Produce merged DOMDocument

XMLDiff\DOM::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::merge — Produce merged DOMDocument

说明

public XMLDiff\DOM::merge ( DOMDocument $src , DOMDocument $diff ) : DOMDocument

Create new DOMDocument based on the diff.

参数

src

Source DOMDocument object.

diff

DOMDocument object containing the diff information.

返回值

Merged DOMDocument or NULL.

相关文章
php dom the domdocument classphp dom the domdocumentfragment classphp dom the domdocumenttype classphp dom the domelement classphp xmldiff the xmldiff dom classphp domdocument create new entity reference nodephp domdocument creates new pi nodephp domdocument create new text nodephp domdocument searches for an element with a certain idphp domdocument dumps the internal document into a string using html formattingphp domdocument dumps the internal document into a file using html formattingphp domdocument dumps the internal xml tree back into a stringphp domdocument validates a document based on a schemaphp xmldiff base produce diff of two xml documentsphp xmldiff base produce new xml document based on diffphp xmldiff dom diff two domdocument objectsphp xmldiff dom produce merged domdocumentphp xmldiff file produce merged xml documentphp xmldiff memory diff two xml documentsphp xmldiff memory produce merged xml document
关注编程学问公众号
编程学问网 湘ICP备20001732号