Updating NNF with DOMTemplate changes