Lets do simple rules first (like setting attributes, removing attributes), then changing contents then finally completely transforming the node last
Lets do simple rules first (like setting attributes, removing attributes), then changing contents then finally completely transforming the node last