I am using the latest version of Styler and having an issue creating a variable header. I have a manual that has multiple sections each with it's own title. I need to display the section title in both of the left and right headers of the body pageset. The problem I am having is how to get the current section title to display for just that section. The next section needs to display it's related title and so on. I have been trying straight XPath, XPath with conditions /manual//section/title, both with and without ufe's. Can anyone please tell me if I this is possible or if there is some other method I should try? Any help is greatly appreciated. This is driving me crazy! It seems like it should be somewhat simple.
Your solution is correct. Using XPath won't give what you want as the XPath resolves in the scope of the entire document, not just what is on the current page. The "DivisionReference" generated text item is intended to allow headers to dynamically update according to the headers that are currently in effect. The technical name for this feature is "running header" which you may find if you search further in the documentation.