Using elements in System Variable Definition
In my structued document, a Section element contains (amongst other things) a Heading element. Each section can also contain a Section element (resulting in a sub-section). In the Heading element, I have level rules to check the level (number of Section elements above) and apply appropriate formatting.
In the page heading, I want to include the content of the Heading element currently at Level 1, i.e.:
Section
Heading (level 1)
Section
Heading (level 2)
On my page header, I want to see the content entered against the Heading (level 1) element. This would repeat until there is a new Heading (level 1) element.
I've tried using the Definition <$elementextonly[Heading]> in my Running H/F/2 system variable, that displays the content of the curernt Heading element, even if it is a lower level heading.
