Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
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
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
Saravanan,
Did the response given assist you?
If so, could you indicate it marking it with "Correct Answer"?