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

XSLT using extra for-each or apply-templates using Muenchian method?

I've started learning XSLT and I've used the Muenchian method in an exercise. I've found 2 different ways of getting my expected result. With the apply-templates and with an extra for-each. The key:
Lewis
  • 225
  • 1
  • 6
  • 18
0
votes
2 answers

Grouping with wildcard search in XSLT 1.0

I want to do a sipmle 'Muenchian grouping' in xslt 1.0 but also with an added wildcard search from a different node. I'm familar with the grouping method and it's awlays worked well but am having trouble with the wildcard issue in that it always…
kevmull
  • 115
  • 1
  • 9
0
votes
1 answer

XSLT 1.0 grouping to reformat element defined by date into element defined by task

I have a tricky XSLT transformation and I'd like your advise My xml is formatted as below: John June12 34
Daniel
  • 165
  • 3
  • 12
0
votes
1 answer

XSLT: Display unique rows of filtered XML recordset

I've got a recordset that I'm filtering on a particular field (i.e. Manager ="Frannklin"). Now I'd like to group the results of that filtered recordset based on another field (Client). I can't seem to get Muenchian grouping to work right. Any…
Chris G.
  • 329
  • 4
  • 17
0
votes
2 answers

Xslt nested sorting

I'm trying to sort alphabetically fields (in this case VICINITY), but if not exist (VICINITY), I need to consider another field (ITA_LIGHT_NAME), thereby creating two nested sort. I create this xslt: List A
Francesco Irrera
  • 445
  • 4
  • 21
0
votes
2 answers

More XSL Grouping - how to remove parent nodes with duplicate child attributes?

Yes, this is another XSLT grouping/duplicates questions, but I was unable to find any answers that I could successfully apply to my situation. This is the original XML:
0
votes
1 answer
0
votes
1 answer

How to group in XSLT using Muenchian Method?

I'm quite new to XSLT and I'm using XSLT 1.0. Now I need to group some stuff in a quite big XML file. There are lots of examples out there but none worked for me for some reason. I'm able to group the info I want, but I also get some extra text in…
user1767833
  • 129
  • 2
  • 10
0
votes
2 answers

XSLT group on multiple keys

This is the input file.
mario
  • 1
  • 2
0
votes
1 answer
0
votes
1 answer

Sums and Category Grouping with XSLT

With XSLT, how can I change the following:
kzh
  • 19,810
  • 13
  • 73
  • 97
0
votes
1 answer

Muenchian method for nested groups

i asked smiliar question before Muenchian method for nested elements but this time the problem is different. my xml input is- bar bar
user3319738
0
votes
1 answer

Muenchian grouping confusion (XSLT)

Given the following document structure...
codingManiac
  • 1,654
  • 4
  • 29
  • 42
0
votes
2 answers

XSL - Counting iterations in for-each loops with conditions

How can I check when it is the first time the program runs the statement so that the program does something only once. And when is the last time it runs the same if statement so that it does something else only…
0
votes
1 answer

XSLT 1.0 grouping

I have an XML of that kind: app1 comp1 1 app1