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