alternative functional DOMCompiler

Alternative DomCompiler