Table of Contents

MarkdownElement.AddAddressBookmark Method

Definition

Add a bookmark for an address attribute

public static void AddAddressBookmark(XElement content, string uniqueId)

Parameters

content XElement

The content element to which the bookmark is added

uniqueId string

The unique ID to use for the bookmark

Remarks

Open XML does not support ID attributes like HTML. Instead, it renders bookmarks with the unique IDs that will be used as the link targets. The Open XML file builder task will reformat the bookmark name and ID to ensure that they are all unique.