Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Defining Frame Below for Nested Elements

$
0
0
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

Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>