Questions tagged [muenchian-grouping]

Muenchian Grouping is an XSLT technique for optimizing the grouping of data in an XSL Transform.

Muenchian Grouping, named after it's founder, Steve Muench, is an XSLT grouping technique which improves the efficiency of traditional XSLT grouping (which typically uses preceding-sibling or following-sibling to determine the uniqueness of the node and hence its eligibility to form a new group).

Instead, Muenchian Grouping uses xsl:key to classify groups, in much the same way as a database index works.

188 questions
0
votes
2 answers

XSLT remove duplicate and select higher value

I am new in XSLT and looking for help to remove duplicates of from an xml document on the basis of their children's combined value. From each group of elements with the same value for this, the one with highest value for AIB_Position/AIB must…
0
votes
0 answers

Xslt 1.0 how to group from different nodes

I have a really hard time getting my head around this one. I understand I should use muenchian grouping but I cannot find the answer. I have tried a long time and searched for it on the net but please if somebody could help me in the right direction…
0
votes
1 answer

XSLT Muenchian grouping create key inside group

My goal is to group the nodes first by , then in each group, I want to group by . Here is my XML.
mark uy
  • 521
  • 1
  • 6
  • 17
0
votes
1 answer

XSLT Muenchian grouping nested rows and columns

I'm using XSLT 1.0. I have and elements in my XML file. RowBreak will group my data by row, while ColumnBreak will transform to columns. For as long as there's no match for ColumnBreak or RowBreak, the display should…
mark uy
  • 521
  • 1
  • 6
  • 17
0
votes
1 answer

Conditional grouping in XSLT

Request your help to transform XML using XSLT 2 My input XML looks like below. 1234 David
KM6895
  • 79
  • 10
0
votes
1 answer

XSLT Muenchian Grouping to HTML Table

Here is my XML:
mark uy
  • 521
  • 1
  • 6
  • 17
0
votes
1 answer

XSLT MUENCHIAN METHOD for all the nodes

I am trying to get an attribute value for an elements ancestor, self and descendants. And then I want to display the unique values. This is what I am trying.
alan samuel
  • 415
  • 6
  • 28
0
votes
1 answer

XSLT 1.0 remove alternate duplicate records

I am trying to remove alternate duplicate records from xml using XSLT 1.0. Below is the XML I am working with. 63496
0
votes
1 answer

Remove selective duplicates using xslt

I need to remove duplicates from an xml file, I want to retain the later record than the earlier record. The xslt I have outputs the earlier record. I wanted the later one. Can you please help me.
0
votes
1 answer
0
votes
1 answer

XSL variable group by

Input XML: 1319619 alt 11310224
0
votes
1 answer

How to properly use the Muenchian for grouping a very repetitive tag by an element?

I am facing an issue using the Muenchian. I have a very large xml to transform into a new output. I've build the xsl to have a key using an element as the "parent" to group by, and everything to return as child. The source has many times the same…
0
votes
1 answer

XSLT - Counting child nodes after applying muenchian grouping

For the below input XML, I am able to group all the child elements under the appropriate element using muenchian grouping method. However there is a requirement to include the count of the number of elements…
Aniket V
  • 3,183
  • 2
  • 15
  • 27
0
votes
1 answer

XSLT - Group child nodes under same parent

I have the following input XML Input XML 1 1 1 1
Aniket V
  • 3,183
  • 2
  • 15
  • 27
0
votes
1 answer

xsl:sort with preceding-sibling XSLT 1.0 XSL-FO muenchian xsl:key

I would like to access preceding-siblings in a sorted list. I'm using Antenna House 6.2 and XSLT 1.0. I tried using the msxsl extension with node-set() but calls to node-set() failed. Some say accessing the preceding-sibling in a sorted list can't…
Caroline
  • 167
  • 1
  • 11