Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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[1]/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.
Hello All. I was able to get this to work by defining my sections as Level 1 Divisions and using the division title in the header.
Hi @LisaSavory.
Please advise the product you are using so we can move this post to the correct forum.
Regards.
--Sharon
Arbortext.
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.