[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: fredrik@xxxxxxxxxxxxxxx, framers@xxxxxxxxx
Subject: Re: Setting table format on XML import
From: DW Emory <danemory@xxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Jun 2004 08:30:13 -0700
Delivered-to: jeremyg-freeframers:org-ffarchiv@freeframers.org
In-reply-to: <40C6FF19.21990.1A9CB2A8@localhost>
Sender: owner-framers@xxxxxxxxx
Hi!
I'm new to the list as well as to structured FrameMaker.
I've got a bunch of text in XML format that I want to import into FrameMaker, then apply formatting on it. I'm opening the XML file, importing element definitions from the EDD (xdocbook) and have got most of the things working the way I want it. I've successfully made modifications to the EDD for certain containers.
But I've ran the head into the wall now regarding tables. I have a table format defined in the document template. The format is known as table_col.
I want FrameMaker to use that table format when importing a table such as <table> <title>This is the table title</title> <tgroup cols="2"> <thead> <row> <entry>Heading left</entry> <entry>Heading right</entry> </row> </thead> <tbody> <row> <entry>First row left</entry> <entry>First row right</entry> </row> <row> <entry>Second row left</entry> <entry>Second row right</entry> </row> </tbody> </tgroup> </table>
I've managed so far modifying the Title, TBody and THead elements to get the proper paragraph formatting for the content of the cells and the table title. But I can't seem to get FrameMaker to change the default table format.
I assumed this should be done in the TGroup definition and have added
InitialTableFormat AllContextsRule TableFormat table_col
But FrameMaker does not trigger on this (or ignores it) as the table format used is my custom table in the document template.
Please help!
-- Fredrik Nyman PacketFront Sweden AB http://www.packetfront.com/
** To unsubscribe, send a message to majordomo@xxxxxxxxx ** ** with "unsubscribe framers" (no quotes) in the body. **
FrameMaker/FrameMaker+SGML Document Design & Database Publishing DW Emory <danemory@xxxxxxxxxxxxxxxxxx>
** To unsubscribe, send a message to majordomo@xxxxxxxxx ** ** with "unsubscribe framers" (no quotes) in the body. **