Version: current

# Class DOMNode

### Direct known subclasses

`DOMDocument`

PHP Extension: Dom
Documented at php.net

## Methods summary

`public` | # `insertBefore( `DOMNode` $newChild, `DOMNode` $refChild )`
`public` | # `replaceChild( `DOMNode` $newChild, `DOMNode` $oldChild )`
`public` | # `removeChild( `DOMNode` $oldChild )`
`public` | # `appendChild( `DOMNode` $newChild )`
`public` | # `hasChildNodes( )`
`public` | # `cloneNode( mixed $deep )`
`public` | # `normalize( )`
`public` | # `isSupported( mixed $feature, mixed $version )`
`public` | # `hasAttributes( )`
`public` | # `compareDocumentPosition( `DOMNode` $other )`
`public` | # `isSameNode( `DOMNode` $other )`
`public` | # `lookupPrefix( mixed $namespaceURI )`
`public` | # `isDefaultNamespace( mixed $namespaceURI )`
`public` | # `lookupNamespaceUri( mixed $prefix )`
`public` | # `isEqualNode( `DOMNode` $arg )`
`public` | # `getFeature( mixed $feature, mixed $version )`
`public` | # `setUserData( mixed $key, mixed $data, mixed $handler )`
`public` | # `getUserData( mixed $key )`
`public` | # `getNodePath( )`
`public` | # `getLineNo( )`
`public` | # `C14N( mixed $exclusive, mixed $with_comments, array $xpath, array $ns_prefixes )`
`public` | # `C14NFile( mixed $uri, mixed $exclusive, mixed $with_comments, array $xpath, array $ns_prefixes )`

### Magic methods summary

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -