Thread View: adobe.framemaker.sgml
5 messages
5 total messages
Started by Alex_Masycheff
Tue, 09 Sep 2008 05:32
Converting Tables Using FM Conversion Tables
Author: Alex_Masycheff
Date: Tue, 09 Sep 2008 05:32
Date: Tue, 09 Sep 2008 05:32
31 lines
1336 bytes
1336 bytes
Hi All, I need to convert a table from unstructured FM to the HTML-like format: <table> <tr> <td><para>Cell 1</para></td> <td><para>Cell 2</para></td> </tr> <tr> <td><para>Cell 3</para></td> <td><para>Cell 3</para></td> </tr> </table> However, it seems I'm missing something because I cannot make FM to wrap <para> in <td>. If I setup the conversion this way: TC: P:CellBody goes to td TR:td+ goes to tr ...it works like a charm, but the content is inserted directly to <td>. If I try to define: TC: P:CellBody goes to para TE: E:para goes to td TR:td+ goes to tr ... it doesn't work. What am I missing? Thanks in advance, Alex
Re: Converting Tables Using FM Conversion Tables
Author: Russ Ward
Date: Tue, 09 Sep 2008 13:02
Date: Tue, 09 Sep 2008 13:02
13 lines
1165 bytes
1165 bytes
Alex, When you have something like: TC: P:CellBody The "TC:" part defines the table component that will be tagged. The "P:" part is only a qualifier. So when you have: TC: P:CellBody ---------------- para This says literally, "tag all tables cells with the para element IF it has a child paragraph with the CellBody format." I think you are expecting it to wrap the child paragraph itself, which isn't the case. It is still affecting the table cell only, just with a qualifier. Russ
Re: Converting Tables Using FM Conversion Tables
Author: Alex_Masycheff
Date: Tue, 07 Oct 2008 13:07
Date: Tue, 07 Oct 2008 13:07
23 lines
1064 bytes
1064 bytes
Hi Russ, Thank you for clarifying. So how can I get a table like this... <para>Cell 1</para> <para>Cell 2</para> <para>Cell 3</para> <para>Cell 3</para> ... in which the content itself is wrapped into PARA and then to TD? Thanks, Alex
Re: Converting Tables Using FM Conversion Tables
Author: Rick_Quatro
Date: Tue, 07 Oct 2008 13:30
Date: Tue, 07 Oct 2008 13:30
9 lines
826 bytes
826 bytes
Hi Alex, This seems to work: P:CellBody---------------para TC:----------------------td Rick Quatro rick at frameexpert dot com
Re: Converting Tables Using FM Conversion Tables
Author: Alex_Masycheff
Date: Tue, 07 Oct 2008 13:57
Date: Tue, 07 Oct 2008 13:57
5 lines
686 bytes
686 bytes
Thanks a lot, Rick! It's working! Alex
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads