XSLT Transforming sequential XML to hierarchical XML
- by Jean-Paul Smit
I have a requirement to transform a sequential XML node list into a hierarchical, but I run into some XSLT specific knowledge gap.
The input XML contains articles, colors and sizes. In the sample below 'Record1' is an article, 'Record2' represents a color and 'Record3' are the sizes. The number of colors and sizes (record2 and record3) elements…