Skip to main content
1-Visitor
April 8, 2015
Solved

Create header into a document without style sheet

  • April 8, 2015
  • 1 reply
  • 2038 views

Hi, I would like to know how I can create a header in Arbortext document without using a style sheet.

My problem is that I need to create multiple documents with different text on each header. But as all documents will have the same format, I want to use only one style sheet to change all documents at a time.

Greetings and thank you very much.

Best answer by fsoriano

I already solved. I edit the header into the stylesheet and use an XPath string with the path of the label that I want to insert.

Thank you very much.

1 reply

12-Amethyst
April 8, 2015

Fran,

All styling of output is done via a style sheet when using Arbortext products.

This may all be done with one style sheet.

To do so, one would create conditions based on attribute values of specific elements to determine the header format and content.

One could also use conditions based on XPath expressions gathering conditions for determining the type of header to use.

Based on the conditions determined, then the appropriate pageset would be use.

Tim

fsoriano1-VisitorAuthor
1-Visitor
April 9, 2015

Hello Tim,

Thank you for your reply.

Can you tell me where I can find a manual for creating these conditions based on attributes or XPath.

Thank you very much.

1-Visitor
April 9, 2015


Hi

Much of what you need is on the PTC web site in the Reference document selection. I would recommend the FOSI and STYLER reference manuals (depending on what you use) and the programmers reference manual. There is also an APP Stylesheet Developer's Guide that might be helpful.

We have one Stylesheet which supports 7 languages and 3 types of manuals for 4-7 products, so it all very possible.