Table translation behavior using structured framemaker
Lynne A. Price
lprice at txstruct.com
Mon Mar 27 12:31:20 PST 2006
Noah,
The problem is that you have not told FrameMaker how many columns there
are in the table, so it only creates one column. One easy fix is to add a
cols attribute to your tgroup element whose value is the number of columns
in the table.
--Lynne
At 08:55 PM 3/26/2006, Noah Evans wrote:
>Hey, I'm still very new to framemaker so please bear with me. I've written
>a dtd and a set of rules files to try to convert a basic table from
>xml(sorry for the Japanese characters):
><table> <tgroup> <thead> <row>
><entry>¹¤³Ì</entry><entry>ÄÚÈÝ</entry><entry>¹¤¾ß·¬ºÅ</entry>
></row> </thead> <tbody> <row>
><entry>1</entry><entry>Í⾶»Ä¼Ó¹¤</entry><entry>01</entry>
></row> <row>
><entry>2</entry><entry>Í⾶ÊËÉϤ²¼Ó¹¤</entry><entry>02</entry>
></row> </tbody> </tgroup> </table> which uses the following
>dtd: <!ELEMENT table (title?,tgroup+)> <!ELEMENT tgroup (thead?,tbody)>
><!ELEMENT thead (row+)> <!ELEMENT tbody (row+)> <!ELEMENT row (entry+)>
><!ELEMENT entry (#PCDATA)> When I try to convert this to structured
>framemaker I get stuck with each of the <entry>ies all crammed together in
>one column. Everything is being identified correctly in the edd with the
>right element types etc...(I would post the edd but this is on Japanese
>framemaker). I'm sure I'm missing something very simple regarding how
>structured framemaker does table translation. Any advice on what I'm
>missing? Noah Evans Nara Japa_______________________________________________
>
>
>You are currently subscribed to Framers as lprice at txstruct.com.
>
>Send list messages to framers at lists.frameusers.com.
>
>To unsubscribe send a blank email to
>framers-unsubscribe at lists.frameusers.com
>or visit
>http://lists.frameusers.com/mailman/options/framers/lprice%40txstruct.com
>
>Send administrative questions to lisa at frameusers.com. Visit
>http://www.frameusers.com/ for more resources and info.
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development,
and training
lprice at txstruct.com http://www.txstruct.com
voice/fax: (510) 583-1505 cell phone: (510) 421-2284
More information about the framers
mailing list