Article View: adobe.framemaker.sgml
Article #816Re: How can I display the string "ZBAA/PEK-ADSB"?
From: Lynne_A._Price
Date: Wed, 30 Jul 2008 14:35
Date: Wed, 30 Jul 2008 14:35
17 lines
2388 bytes
2388 bytes
zhaop,
Why have you made the airportCode element a marker? Considering your earlier question about running headers and footers, I wonder if it is because you want it to appear in the running header? Markers are text strings associated with a point in a document that do not display. Since you want the airportCode to appear in a paragraph, I recommend making it a container instead. Is there another element that contains the three you've listed? For example:
<airport>
<airportCode>ZBAA</airportCode>
<airportThreeCode>PEK</airportThreeCode>
<airportName>ADSB</airportName>
</airport>
If so, define all four elements (airport, airportCode, airportThreeCode, and airportName) to be containers. Specify the desired paragraph format for airport. For the other three elements, provide a text formatting rule that defines them to be text ranges. Give airportCode a suffix (or airportThreeCode a prefix) of /. Give airportThreeCode a suffix (or airportName a prefix) of -.
If there is no element that corresponds to the paragraph, you can still make all three of the elements containers, but in the pagination properties of the first two, set Placement to RunInHead. In this case, you can insert the / and - delimiters as default punctuation for the run-in heads rather than as prefixes or suffixes. (You could still use prefixes or suffixes; both techniques produce the same result.)
For your running header/footer, where you currently use <$marker1> or <$marker2> to display airportCode, instead use <elemtext[airportCode]>.
--Lynne
Technical Details
Message-ID:
<59b5e7c9.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!zen.net.uk!dedekind.zen.co.uk!news4us.nl!webcrossingReferences:
<59b5e7c9.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,e1f32efa04eaaf0c X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Lynne_A._Price@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: How can I display the string "ZBAA/PEK-ADSB"? Message-ID: <59b5e7c9.1@webcrossing.la2eafNXanI> Date: Wed, 30 Jul 2008 07:35:21 -0700 References: <59b5e7c9.-1@webcrossing.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!zen.net.uk!dedekind.zen.co.uk!news4us.nl!webcrossing X-Original-Lines: 27 X-Original-Bytes: 2199