openSUSE / suse-xsl

DocBook XSL Stylesheets for SUSE branding
Other
11 stars 10 forks source link

Fix #517: Process substeps/@performance='optional' #580

Closed tomschr closed 11 months ago

tomschr commented 11 months ago

If you have the following structure:

 <step>
   <para>Third step. The following substeps are optional (except one):</para>
   <substeps performance="optional">
     <step>
       <para>First substep</para>
     </step>
     <step>
       <para>Second substep</para>
     </step>
     <step performance="required">
       <para>Required third step</para>
     </step>
   </substeps>
 </step>

It marks all substeps as optional except the third one. See example from HTML (similar for PDF):

Screenshot_20231018_211541