Splitting attribute compiler from DOM compiler.