XMLDiff\DOM::merge
PHP function
Edit on GitHub ✎
(PECL xmldiff >= 0.8.0)
Produce merged DOMDocument
Description
XMLDiff\DOM::merge(DOMDocument $src, DOMDocument $diff): DOMDocument
Create new DOMDocument based on the diff.
Parameters
srcSource DOMDocument object.
diffDOMDocument object containing the diff information.
Return Values
Merged DOMDocument or NULL.