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

Translate the entire conversation x

Header Cells not being Created in Styler Custom Table Setup

AndrewPieper
5-Regular Member

Header Cells not being Created in Styler Custom Table Setup

I am trying to add header cells to my custom troubleshooting table.  I am following the tutorial in Styler help:

AndrewPieper_0-1607531526885.png

 

I add a name in the Name field, and 'Possible Cause' or '' (I tried both methods) in the XPath field.  When I click OK the blue circle spins a bit and the dialog closes, but there are no new cells listed in the Generated header cells field:

 

AndrewPieper_1-1607531736681.png

 

I checked the sfes, and nothing was added there either.

Am I doing something wrong, or does this feature not work for some reason?  We are running this on Editor/Styler 7.1. and using DITA 2.0 as our architecture.

2 REPLIES 2
Partner
14-Alexandrite
(To:AndrewPieper)

I am wondering if after all these years you found a solution or not.  I'm currently using the Generated Cells and just getting no content showing at all.

Alexia
14-Alexandrite
(To:Partner)

Hello,

I believe this question may have been answered in your post related to Generate a Dynamic table with Arbortext styler

If you now have the answer could you please note this as 'Solution'

This will enable other customers with the same question to know there is an available solution and where they can find the details.

 

I think you have a problem with your XPath expressions. When you ask for "/LongTitle", the slash at the beginning indicates you want it to look for that element at the root of the document, not in the current context. If you want to get the LongTitle element as a child of the current element (the Identification element if I'm reading the original post correctly), you should use "./LongTitle" (note the dot before the slash), or simply "LongTitle". So, try rewriting your Regulation expression like this:

 

concat(string(LongTitle), ' ', string(Id))

 

Alexia
Announcements

Top Tags