Questions concerning the group-adjacent function have already been asked, I know. For some reason though, I can't get this to work.
I inherited project at work that uses xslt and my boss doesn't appreciate how steep the learning curve is for…
I'm trying to use Muenchian grouping in my XSLT to group matching nodes, but I only want to group within a parent node, not across the entire source XML document.
Given XSLT and XML as follows (apologies for the length of my sample code):…
In XSLT 1.0, a common question in forums was how to convert flat HTML into hierarchical XML, which many times boiled down to nesting text in between tags in
tags.
I have a similar problem, which I think I've partially solved using XSLT…
I'm trying to add hierarchy to some grotty extruded typesetting XML. I can't seem to manage grouping several kinds of groups in the same parent element at once.
What I have (simplified, obviously):
I've been looking at examples of Muenchian grouping in XSLT 1.0, specifically this example here. However I'm unable to get it working on a more complex XML structure.
My XML currently looks like this:
Grouping in XSLT
Need to create a XSLT for below Request XML.
XSLT has to do below:
Group the Coverage codes based on vehicle category.
Sum up premium per coverage code
Sum up premium per coverage code and vehicle category
Get the Vehicle category…