Skip to main content
1-Visitor
June 12, 2015
Question

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

  • June 12, 2015
  • 2 replies
  • 1277 views

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

5-Regular Member
June 25, 2015

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

12-Amethyst
July 30, 2015

Saravanan,

   Did the response given assist you?

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