<?xml version='1.0' encoding='utf-8'?>
<!-- 
Copyright 2005 DataActive Communications Limited

Unless required by applicable law or agreed to in writing, software,
documentation and examples are distributed under a 'AS IS' BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<!DOCTYPE re:root SYSTEM 'http://reality.dataactive.com/DTDs/reality-1.0.dtd'
[
<!ENTITY comp  'DataActive&#8482; Communications Limited'>
<!ENTITY legal 'Copyright 2004 &comp; Unless
 required by applicable law or agreed to in writing, software, documentation
  and examples are distributed under a AS IS BASIS, WITHOUT WARRANTIES OR 
  CONDITIONS OF ANY KIND, either express or implied.'>
]> 
<re:root xmlns:re='http://reality.dataactive.com'>
	<re:document 
		version='1.0' 
		language-code='ENG' 
		country-code='GBR' 
		category-code='examples' 
		uid='010_040' 
		display-name='Entities as short cuts'>

		<re:outputs collate='false' compression='9' manifest='false'>
			<re:output 
				name='Kwik PDF' 
				file-name='010_040_EntitiesAsShortCuts' 
				type='reality.pdf.kwik' 
				options='page-crop-marks: false' />
		</re:outputs>

		<re:styles>
			<re:style name='mainLayer'>
				<re:styleattribute name='position' value='absolute' />
				<re:styleattribute name='left' value='20' />
				<re:styleattribute name='top' value='150' />
				<re:styleattribute name='width' value='400' />
				<re:styleattribute name='height' value='200' />
			</re:style>

		</re:styles>


		<re:content>

			<re:page>
				<re:layer class="mainLayer">
					<re:paragraph style='font-name: Times-Bold; font-size: 20; '>
						&comp; 
					</re:paragraph>
					<re:paragraph>
						Here is an entity is declared in DTD section of the XML. 
						This not only saves typing but reduces the chance of 
						spelling mistakes.
						<re:break/>
						In the second entity there a much larger block of text 
						that refrences the first entity. 
					</re:paragraph>
					<re:paragraph>
						&legal; 
					</re:paragraph>
				</re:layer>
			</re:page>

		</re:content>


	</re:document>
</re:root>
