Content Component 25.4
Content Component Help

# HighlightTagTerm

Set `HighlightTagTerm` to `True` to add an attribute to the HTML highlighting tag that indicates which term of the specified Links is being highlighted.

For example, if you set Links to `cat+dog+mat`, the term cat is highlighted with the specified StartTag and the extra attribute `t="0"`, because it is the first term (for example, `<font color="red" t="0">`). The term dog is given the attribute `t="1"`, and the term mat is given the attribute `t="2"`.

NOTE: This option works only when the specified StartTag is an HTML or XML tag (for example, `<mytag>`). It works if you do not specify StartTag, because the default StartTag is `<font color="red">`.

Actions: | Highlight
Type: | Boolean
Default: | False
Example: | `HighlightTagTerm=True`
See Also: | Highlight StartTag Text

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 25.4

Topic Title: HighlightTagTerm