Examples: DXL output for the page and table elements

The following text file excerpt represents the DXL output for a page which contains a title followed by a table with two rows, each containing an image in one column and a price in the other column.

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 closing tag for the page element does not appear until the end of the example, illustrating that all the other elements are contained by the <page> element.

<page name="dresses" publicaccess="false" designerversion="6"> 
	<noteinfo noteid="13a" unid="48A43168DCF8993485256A4000447339" 		sequence="5"> 
		<created> 
			<datetime dst="true">20010502T082739,45-04</datetime>
		</created> 
		<modified> 
			<datetime dst="true">20010502T084643,31-04</datetime>
		</modified> 
		<revised> 
			<datetime dst="true">20010502T084643,30-04</datetime>
		</revised> 
		<lastaccessed> 
			<datetime dst="true">20010502T084643,30-04</datetime>
		</lastaccessed> 
		<addedtofile> 
			<datetime dst="true">20010502T083517,19-04</datetime>
		</addedtofile> 
	</noteinfo> 
	<updatedby> 
		<name>CN=Mary Lally/OU=CAM/O=Condor</name> 
	</updatedby> 
	<body> 
		<richtext> 
			<par /> 
			<pardef id="1" align="center" /> 
			<par def="1"> 
				<run> 
					<font size="24pt" color="blue" /> 
						Bridesmaid Dresses 
				</run> 
			</par> 
			<table widthtype="fitmargins" cellbordercolor="yellow" 				leftmargin="1in" cellborderstyle="ridge" 						colorstyle="solid" bgcolor="silver" insidewrap="true" 				insidewrapheight="1in"> 
				<border style="solid" width="2px" color="olive" 					dropshadow="true" /> 
				<tablecolumn width="66.58%" /> 
				<tablecolumn width="33.42%" /> 
				<tablerow> 
					<tablecell bgcolor="#e0ffbf"> 
						<pardef id="3" align="center" 									leftmargin="0.0313in" keepwithnext="true" 							keeptogether="true" /> 
						<par def="3"> 
							<picture height="341px" width="218px" 								alttext="caldesigns white two-piece 								dress"> 
								<imageref name="design1.jpg" /> 
								<caption>CALDesigns</caption>
							</picture> 
						</par> 
					</tablecell> 
					<tablecell colorstyle="vgradient" bgcolor="none" 						altbgcolor="#a1e2ff"> 
						<pardef id="4" align="center" 									leftmargin="0.0313in" keepwithnext="true" 							keeptogether="true" /> 
						<par def="4" /> 
						<pardef id="5" leftmargin="0.0313in" 							keepwithnext="true" keeptogether="true" /> 
						<par def="5"> 
							<run> 
								<font size="24pt" color="blue" /> 
								$250 
							</run> 
						</par> 
					</tablecell> 
				</tablerow> 
				<tablerow> 
					<tablecell bgcolor="#ffe1dc"> 
						<pardef id="6" leftmargin="0.0313in" 							keepwithnext="true" keeptogether="true" /> 
						<par def="6"> 
							<imagemap lastdefaultid="8" 									lastcircleid="1" lastrectangleid="55"> 
								<picture height="341px" width="219px" 									alttext="PERDesigns pink two-piece 									sleeveless dress"> 
									<border style="dot" width="1px" 										color="#ff4040" /> 
									<imageref name="design2.jpg" /> 
									<caption>PERDesigns</caption> 
								</picture> 
								<area type="circle" htmlid="bracelet">
									<point x="5" y="82" /> 
									<point x="81" y="158" /> 
									<urllink href="http://www.PERD
									esigns.com/jewelry" /> 
								</area> 
							</imagemap> 
						</par> 
					</tablecell> 
					<tablecell> 
						<cellbackground repeat="hrepeat"> 
							<imageref name="graphic.gif" /> 
						</cellbackground>
						<par def="5" /> 
						<par> 
							<run> 
								<font size="24pt" color="blue" /> 
								$300 
							</run> 
						</par> 
					</tablecell> 
				</tablerow> 
			</table> 
			<pardef id="7" /> 
			<par def="7"> 
				<namedelementlink showborder="true" type="page" 						name="ordering"> 
					<run> 
						<font size="14pt" color="teal" /> 
						Order a dress 
					</run> 
				</namedelementlink> 
			</par> 
		</richtext> 
	</body> 
	<item name="$$ScriptName" summary="false" sign="true"> 
		<text>Untitled</text> 
	</item> 
</page>