How to use an element text as. Running H/F based on the value of an attribute?

Explorer ,
Nov 09, 2017 Nov 09, 2017

Copy link to clipboard

Copied

We want to use a system variable in the header of a master page based on the value of a Title's attribute (or Context label). For instance we have a chapter made up of sections. Each section has its own title. We want to use the Title of the first section in the header of the pages.

In the EDD is defined that the Title of the first Section gets a Context label H1.

Should we define the Running H/F 1 like <$elemtextonly[Title:H1]> or something? Or <$elemtextonly[Title:[Type:H1]]> ??

How to do this?

TOPICS
Structured

Views

166

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Nov 09, 2017 Nov 09, 2017
I just discovered the right answer: <$elemtextonly[Title(H1)]>

Likes

Translate

Translate
Explorer ,
Nov 09, 2017 Nov 09, 2017

Copy link to clipboard

Copied

LATEST

I just discovered the right answer: <$elemtextonly[Title(H1)]>

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines