ok, thanks for clarifying, you can try using exportedElements and see if it helps. So, it would look something like this :<sly data-sly-use.fragment="com.adobe.cq.wcm.core.components.models.contentfragment.ContentFragment" data-sly-test="${properties.fragmentPath}">
<!-- Start: Hero Banner S...