Thread View: adobe.framemaker.sgml
3 messages
3 total messages
Started by Alex_Masycheff
Tue, 09 Sep 2008 07:44
Conditional Text and Conversion Tables
Author: Alex_Masycheff
Date: Tue, 09 Sep 2008 07:44
Date: Tue, 09 Sep 2008 07:44
7 lines
876 bytes
876 bytes
Hi All, I have one more question about conversion tables: how can they handle conditional text? I read the Structure Application Developer Reference, but it says nothing about mapping of conditional tags to XML attributes. Is it doable? Thanks! Alex
Re: Conditional Text and Conversion Tables
Author: Russ Ward
Date: Tue, 09 Sep 2008 13:04
Date: Tue, 09 Sep 2008 13:04
7 lines
1023 bytes
1023 bytes
Hi Alex, It is not doable with a conversion table. All conditional text stays in the structured document as-is. I don't know of any plugins that will do this, I've always just done it by hand. Maybe somebody has a FrameScript or something. One thing, though... make sure you show all conditional text before running the conversion. Russ
Re: Conditional Text and Conversion Tables
Author: Scott_Prentice
Date: Tue, 09 Sep 2008 16:37
Date: Tue, 09 Sep 2008 16:37
9 lines
1389 bytes
1389 bytes
Hi Alex... I've got a hack-ish plugin that I use to map conditions to attributes. Contact me off-list so we can discuss the possibility of using it for your content. The big issue that I've run into is that condition boundaries often don't align with element start/end tags, so it can be very complicated to do this mapping programmatically. You either need to add extra elements to define the "arbitrary" text range for conditions that don't span the whole element .. or you need to break up the condition and apply attributes to multiple elements when it spans multiple elements. In the end, unless you've got very regular use of conditions, you're probably better off doing it manually. 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