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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to generate table column head in Arbortext Styler with condition?

ss-3
1-Newbie

How to generate table column head in Arbortext Styler with condition?

Hi Experts,

I am new to using Arbortext Styler, and using FOSI for output, How to generate Table Column Head by condition based?

for example:

<tbl><row><effect effrg="001999"></effect><cb cbtype="elmec">5-PB-2</cb>

<cbname>ELEC/HOT BUS/702PP SPLY</cbname><pan pantype="elec"> 105VU</pan>

<cbloc>D02</cbloc></row>

<row><effect effrg="001999"></effect><cb cbtype="elmec">5-PB-2</cb>

<cbname>ELEC/HOT BUS/702PP SPLY</cbname><pan pantype="elec"> 105VU</pan>

<cbloc>D02</cbloc></row></tbl>

I want generate heading like "effective number" for element of effect, "cb number" for element of cb, same like all the cells.....

Note: Cell element is optional in the "cbdata", if "cb" is there, then need to show "cb number" in table column heading, if not, no need to show the "cb number".......(for all the cells need to show like with condition).

Please any one guide me, Thanks in advance!

Cheers,

SARAN

2 REPLIES 2
rdiaz
5-Regular Member
(To:ss-3)

Hi Saravanan,

Forgive me if I'm misunderstanding your request.  I don't believe you can easily create a header on demand, however, if the table has a header row, which you can leave as blank, then you can create an XPath rule to check for cd, and populate the header with the cb number.

The Help Center has some information on using XPath in this sense:

http://support.ptc.com/cs/help/arbortext_hc/ae61_hc/index.jspx?id=help10027&action=show

TimPhelps
7-Bedrock
(To:ss-3)

Saravanan,

   Did the response given assist you?

If so, could you indicate it marking it with "Correct Answer"?

Top Tags