Examples: DXL output for an actionbar element

The following text file excerpt represents the DXL output for the action bar on a form.

The See Also section lists the elements that are illustrated in DXL format in this example.

Note that the attributes for each element are listed within the angle brackets of the element's opening tag. The location of the element's closing tag illustrates the containment hierarchy of the element. For example, the actionbar element's opening and closing tags surround all the other tags. This illustrates that these elements are contained by the actionbar element.

Also note that tags that do not contain other elements, such as the sharedactionref tag that follows, have no closing tag and instead end the opening tag with a slash ("/") before the angle bracket.

<actionbar align="right" bgcolor="yellow" bordercolor="black"> 
	<actionbuttonstyle heighttype="minimum" widthtype="background" 			margintype="fixed" margin="3" bgcolor="#e0ffbf"> 
		<imageref name="certifier" /> 
	<font size="9pt" color="teal" /> 
	<action title="Save" hide="preview read web" onlyiconinbar="true"> 
		<imageref name="act_CSCOMPLETED" /> 
		<code event="click"> 
	<sharedactionref id="1" /> 
	<action title="Cancel" icon="11" align="right"> 
		<code event="click">