cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Create header into a document without style sheet

fsoriano
7-Bedrock

Create header into a document without style sheet

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.

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5
TimPhelps
12-Amethyst
(To:fsoriano)

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

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.

RayStachowiak
14-Alexandrite
(To:fsoriano)


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.

If you decide to use FOSI, my FOSI QuickStart Tutorials are available at http://fosiexpert.com/products.html.

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.

Announcements

Top Tags