Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Mapping Tables

New Here ,
Jul 22, 2008 Jul 22, 2008

Copy link to clipboard

Copied

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
TOPICS
Structured

Views

272
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 22, 2008 Jul 22, 2008

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines