Documentation Center

Graphic Templates

This is a section in the file TemplateSpecification.xml which has impact on our Authoring Bridge.

When a user inserts an element of which the name matches the name attribute of one of the following templates the 'Insert graphic' browse dialog will be shown. When a user selects a graphic in this dialog the content of the document fragment will be inserted in the target document in which 'selecteditem:href' will be replaced by the logical ID of the selected graphic.

For Example:

	<template id="GRAPHIC-DITA-FIG" name="fig">
		<documentFragment>
			<fig>
				<image href="selecteditem:href" />
			</fig>
		</documentFragment>
	</template>