# The XMLDiff\DOM class

(PECL xmldiff >= 0.8.0)

## 简介

## 类摘要

class XMLDiff\DOM extends XMLDiff\Base {
/* 方法 */
public diff(DOMDocument `$from`, DOMDocument `$to`): DOMDocument
public merge(DOMDocument `$src`, DOMDocument `$diff`): DOMDocument
/* 继承的方法 */
abstract public XMLDiff\Base::diff(mixed `$from`, mixed `$to`): mixed
abstract public XMLDiff\Base::merge(mixed `$src`, mixed `$diff`): mixed
}

## 目录

- XMLDiff\DOM::diff — Diff two DOMDocument objects
- XMLDiff\DOM::merge — Produce merged DOMDocument

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open