Restructuring elements with Scripting
Hello All,
I have the following issue. I am working with a milspec document. We are working with tables in flight manual context.
Our correct element structure for a table is as follow:
<Figtable>
<Tgroup>
<Thead>
<Row>
<Entry> </Entry>
</Row>
<Tbody>
< Row >
< Entry> </Entry></Row>
</Tbody>
</Tgroup>
</Figtable>
The problem is when we run our conversion table on the legacy data, Frame is not putting the element "Tgroup" in the structure. The following is what we get after running our conversion table:
<Figtable>
<Tbody>
<Row>
<Entry> </Entry>
<Entry> </Entry>
<Entry> </Entry>
</Row>
</Tbody>
</Figtable>
I wanted to write a script or macro that would correct the element structure for me. Any suggestions?
