# domhandler [![Build Status](https://travis-ci.org/fb55/domhandler.svg?branch=master)](https://travis-ci.org/fb55/domhandler) The DOM handler (formally known as DefaultHandler) creates a tree containing all nodes of a page. The tree may be manipulated using the [domutils](https://github.com/fb55/domutils) library. ## Usage ```javascript var handler = new DomHandler([ callback(err, dom), ] [ options ]); // var parser = new Parser(handler[, options]); ``` Available options are described below. ## Example ```javascript var htmlparser = require("htmlparser2"); var rawHtml = "Xyz