Documentation Center

Link 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 link' browse dialog will be shown. When a user selects an object 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 object and 'selecteditem:text' will be replaced by the text entered by the user on the dialog e.g. navigation text.

For Example:

	<template id="LINK-DITA-TOPICREF" name="topicref">
		<documentFragment>
			<topicref href="selecteditem:href">
				<topicmeta>
					<navtitle>selecteditem:text</navtitle>
				</topicmeta>
			</topicref>
		</documentFragment>
	</template>