Given the Xml below which I cannot change, is it possible to have the conditional results with just one css file. I can only one css at the moment but css is very limited in terms of conditions from my understanding.
CASE 1:
<doc>
<story>
<c1><p><text-web-group class="MajorEvent"><text-web class="MajorEvent">Sample Text C1</text-web></text-web-group></p></c1>
</story>
</doc>
CASE 2:
<doc>
<story>
<c1><p><text-web-group class="MajorEvent"><text-web class="MajorEvent">Sample Text C1</text-web></text-web-group></p></c1>
<c2><p><text-web-group class="MajorEvent"><text-web class="MajorEvent">Sample Text C2</text-web></text-web-group></p></c2>
</story>
</doc>
CASE 3
<doc>
<story>
<c2><p><text-web-group class="MajorEvent"><text-web class="MajorEvent">Sample Text C2</text-web></text-web-group></p></c2>
</story>
</doc>
- CASE 1. Sample Text C1 is displayed if there is text only in C1/p/text-web-group/text-web
- CASE 2. Only display Sample Text C1 is displayed if there is text in both C1/p/text-web-group/text-web and C2/p/text-web-group/text-web
- CASE 3. Sample Text C2 is displayed if there is a text only in C2/p/text-web-group/text-web