As with your Lua, remember that your XML is written once but read many times. Consider how to make it more readable and readily modifiable for the future. You may forget why you wrote it a certain way, or your project may gain a new team member who may not have as much context or understanding as you did when you first wrote it.

Naming Standards

XML Data Object Names: Meta/ChatFrame/MessageTextTemplate

Include names: include id="quest_page"

Layout Frame Names: Frame id="BackgroundImage"

States: <State name="is_selected"/>

Local Constants: <Constant name="icon_texture" />