0f8e943f2d6bd23a8d3898e33340293cdafc8295
Components Wrapper
Use this approach when you need to start a wrapper element in one component, and close it in another one.
How to use
- Copy and paste example code from first-component.xslt
<iaixsl:if test="count(commercial_banner/link) > 0 and count(commercial_button2/link) > 0">
<iaixsl:text disable-output-escaping="yes"><div id="commercial_section_wrapper" iai:class="mb-4|commercial_section_bottom_space" >
</iaixsl:text>
</iaixsl:if>
- Rewrite condition, and data inside
- Do the same with second "closing" component
The example was given with buttons2 zone, but you can use this approach with any task that you have.
Created by • IdoMods • 2025
Description
Languages
XSLT
100%