I have a question that caused me a terrible headache. Please help me. The input is:
section 1
With XSLT 2.0 you can use for-each-group group-adjacent as follows:
You can use XSLT 2.0 with Saxon 9 or with AltovaXML tools.