Documentation Center

Hyperlink 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 hyperlink' 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="HYPERLINK-DITA-XREF" name="xref">
		<documentFragment>
			<xref href="selecteditem:href">selecteditem:text</xref>
		</documentFragment>
	</template>