Apply XML formatting rules
To apply XML formatting rules do the following:
1. In Page view, at the bottom of the document window, click Code.
2. Right-click anywhere on the page.
3. Click Apply XML Formatting Rule.
It is important to remember that XML formatting rules will apply ending tags in a file even if it is formatted to exclude them.