http://wiki.esoui.com/Circonians_Stamina_Bar_Tutorial
Scroll down to "XML structure", there should be a pretty good explanation.
Or read the other tutorials here, maybe they help as well:
http://www.esoui.com/forums/showthread.php?t=6399
The wiki is your friend:
http://wiki.esoui.com/Main_Page