Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Perform a grouping on an XML-element in DTL like For-each-group group-by in XSLT

Question
RobH Henselmans · Apr 10, 2019

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?

#DTL #Ensemble

Source URL:https://community.intersystems.com/post/perform-grouping-xml-element-dtl-each-group-group-xslt