Perform a grouping on an XML-element in DTL like For-each-group group-by in XSLT
I need to split a large XMLfile into multiple smaller ones, grouping by an element multiple iterations deep.
In XSLT 2 I use for-each-group group-by, which perfectly does the trick.
I wonder if it is possible to do the grouping in DTL?