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
1 answer

Merging tags based on two different complex tags

In the below two ASNInPO's po_nbr is same container_id under ASNInCtn is same and item_id under ASNInItem is different. In this case two ASNInPO's has to be merged and two ASNInCtn's has to be merged into one tag. This is my Input:
0
votes
1 answer

XSLT 1.0: sort unique values with key but with exceptions

I have the following simplified XML structure:
Peter
  • 1,786
  • 4
  • 21
  • 40
0
votes
1 answer

How keys work in muenchian grouping

I haven't found an answer yet on how keys are generated while doing muenchian-grouping in xslt. The examples I found all have very simple xml files. Given the following xml-file:
erik
  • 509
  • 6
  • 16
-1
votes
1 answer

XSLT grouping by sibling node value

In the following sample XML subsides should be grouped to "Number"-node value. I already tried grouping the Muenchian method but couldn't get it done yet. The XSLT must be in 1.0. For every Number-node a box should be created and each value should…
Herbert
  • 15
  • 4
-1
votes
2 answers

Combinig xml elements based upon certain values

I am trying to group an xml based upon certain node…
Yauza
  • 180
  • 1
  • 13
-1
votes
1 answer

Getting a unique list of nodes from a node-set

I'm having trouble trying to extract a unique list of jobs from two combined lists. The two lists are in the same document but have different structures. My plan was to build a node set combining the two lists. I would then have a single list with…
Jay
  • 13,803
  • 4
  • 42
  • 69
-1
votes
1 answer

XSLT Grouping for Name Directory

I am trying to build a Last Name directory for a project I am working on using XSLT. This is what I want to look like in the end. I want the XSLT to pick up the index grouping for the section search by where it displays the first letter of the…
Moxie C
  • 442
  • 1
  • 15
  • 32
-2
votes
1 answer

xsl convert path element to element tree

I'll be happy if someone gives me hints how to create xslt. May be muenchian groupping could make it? Is it possible to make code for unlimited path or I have to limit count of path elements? Many thanks :-)
Bkmz
  • 19
  • 6
1 2 3
12
13