Article View: adobe.framemaker.sgml
Article #788Re: Conditional Text and Conversion Tables
From: 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
Technical Details
Message-ID:
<59b66e4a.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b66e4a.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,ef9afc3c1fa04835 X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Scott_Prentice@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: Conditional Text and Conversion Tables Message-ID: <59b66e4a.1@webcrossing.la2eafNXanI> Date: Tue, 9 Sep 2008 09:37:32 -0700 References: <59b66e4a.-1@webcrossing.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing