🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker.sgml
2 messages
2 total messages Started by Alex_Masycheff Tue, 22 Jul 2008 17:17
Mapping Tables
#875
Author: Alex_Masycheff
Date: Tue, 22 Jul 2008 17:17
17 lines
2024 bytes
Hi All,

Let's assume I have 2 tables in a DITA topic. One table is formatted using FormatA and another table is formatted using FormatB. Information about formats used is written to the outputclass attribute.

I want to open this topic in another FrameMaker template that applies different formats to the same elements. This also includes applying different table formats. I am using another pair of EDD+template. In this second EDD, I use other formats which works fine. So far so good.

Now the problem. In this second template the first table, which is displayed with FormatA, now should be formatted with SpecialFormatX. Another table, which is displayed with FormatB, now should be formatted with SpecialFormatY.

In other words, I need to define somewhere that if FormatA is used (stored in the outputclass attribute), now SpecialFormatX should be used instead, and if FormatB is used (stored in the outputclass attribute), now SpecialFormatY should be used instead. This transformation should be performed on opening a topic.

Where can I define this mapping? EDD? But there is only InitialTableFormat parameter that works only for new tables. As far as I understand, it cannot be used to reformat an existing table on the fly. Or am I missing something?

Or it should be defined in Read/write rules?

Any advice is highly appreciated. Thanks a lot!

Alex
Re: Mapping Tables
#877
Author: Scott_Prentice
Date: Tue, 22 Jul 2008 18:13
7 lines
801 bytes
Hi Alex...

I think you'd have to use an import XSLT to do this. I'm not aware of a r/w rule that will map one attribute value for another (but there could be).

Cheers,

...scott
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