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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Adding Text "Table" with Enumeration / Numbering to Table Titles

mburge
1-Newbie

Adding Text "Table" with Enumeration / Numbering to Table Titles

Hi,

In Styler, we are attempting to add text "Table" pulled from fixedterm element (<term id="table" text="Table"/>) in the XML and apply to table with titles in Word/RTF output. The intent is to pull the information from "text" attribute and add it to each table with a title except for the very first table (Annual Review) in the document. The text "Table" will be added and numbered starting from "1" and continued on countering to last table with a title. For example the first table with a title in the document should be "Table 1. Quality Control Material" and second table "Table 2. Reference intervals" and third table with a title "Table 3. Compatible Anticoagulants" and so on until all tables with title are accounted for.

Currently I am able to pull the text "Table" from the XML and apply to the table title; however, the enumeration/numbering is not counting as expected. All tables are with title are displaying as "Table 1." even the "Annual Review" table - the very first table in the document.

Can someone please provide guidance on how we can get this tables with title (except for the very first table in the document) apply numbering as explained above? AppSave file will be available via FTP or attached. And I will be available to discuss via telephone to provide clarification.

Thanks in advance for your help!

Regards,

Morais Burge

++++++XML SNIPPET+++++

Word "Table" is pulled from "text" attribute" <term id="table" text="Table"/>

Table with title in the XML:

<table colsep="1" frame="all" role="nobreak" rowsep="1">

<title>Quality Control Material</title>

0 REPLIES 0
Top Tags