Article View: adobe.framemaker.sgml
Article #580Defining Frame Below for Nested Elements
From: Alex_Masycheff
Date: Wed, 15 Oct 2008 12:45
Date: Wed, 15 Oct 2008 12:45
59 lines
2176 bytes
2176 bytes
Hi All,
I have the element called <steps>. This element can contain one or more elements, called <step>. In the EDD, I define for <steps>:
In all contexts.
Advanced properties
Frame below element: Step Rule
This adds a horizontal line after the last <step>.
Now, <step> can contain the element called <info>, which can contain <note>. For <note>, I define in the EDD:
In all contexts.
Advanced properties
Frame above element: Note Rule
Advanced properties
Frame below element: Note Rule
This adds a horizontal line before and after the note. Everything works perfect if I have a structure like this:
<steps>
<step>
<cmd>Open a file</cmd>
<info>
<note>Note goes here </note>
</info>
</step>
<step>
<cmd>Do something...</cmd>
</step>
</steps>
However, if <note> is the last element in the last step:
<steps>
<step>
<cmd>Open a file</cmd>
</step>
<step>
<cmd>Do something...</cmd>
<info>
<note>Note goes here </note>
</info>
</step>
</steps>
...then the horizontal line for the note (Note Rule) appears, but the horizontal line for the last step (Step Rule) doesn't appear.
As far as I understand, it happens because settings for the last element in the <note> override the settings for the last element in the </steps> At least, when I remove the definition for Note Rule, then the Step Rule appears.
Is it a right assumption? Is there anything to do to make Note Rule to appear if the note is the last element in the last step?
Thanks in advance,
Alex
Technical Details
Message-ID:
<59b6bfe5.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!feeder.erje.net!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: fcc08,a495572a91724228,start X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Alex_Masycheff@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Defining Frame Below for Nested Elements Message-ID: <59b6bfe5.-1@webcrossing.la2eafNXanI> Date: Wed, 15 Oct 2008 05:45:30 -0700 Lines: 68 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!news.germany.com!feeder.erje.net!news4us.nl!webcrossing