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

XSL transform xml rows with attributes to unordered list treeview

I have the following XML coming from a SharePoint control. I would like to transform using XSLT to produce a nested ul>li list. But I am having problem as I iterate each row, the primary folder repeats for each row, rather than making one primary…
Athapali
  • 1,091
  • 4
  • 25
  • 48
2
votes
1 answer

Output unique XSLT attribute values when using a key nested within another key

I have been working on a web page constructed through a combination of XSLT 1.0 and XML and come across a problem where I have been struggling to export unique attribute values while using a XSL Key (
Joel
  • 247
  • 5
  • 15
2
votes
2 answers

Use XSLT to enumerate Nodes with the same name

I have many many XML files that often contain nodes mutiple times (each time with different data). Example: DataA DataB
Grinner
  • 337
  • 7
  • 18
2
votes
1 answer

xslt grouping and removing duplicates

A 20141112 2 1 12 .1 item a…
mnvbrtn
  • 558
  • 1
  • 8
  • 27
2
votes
1 answer

Treating sibling nodes as one for XSLT Muenchian grouping

I'm trying to use Muenchian grouping to display company policy documents in a hierarchical way. The policy documents are all added to SharePoint and tagged with a Language, a category and a document type. I'm then using the XML that this creates. I…
Dave
  • 83
  • 6
2
votes
2 answers

Nested grouping using XSLT muenchian-grouping

I had to group a xml document in xslt 1.0 using Oracle Service Bus. This is the sample input file(Simplified):
HeisenBerg
  • 127
  • 10
2
votes
1 answer

XSLT 1.0: Group by attribute

I have the following simplified XML data and I want to group it by the Category:
Claudio P
  • 2,133
  • 3
  • 25
  • 45
2
votes
1 answer

Muenchian Grouping with XSL-FO Table

I've been working with producing simple PDFs with XSL-FO in RenderX XEP for a while, but I'm relatively new to the more involved functions of XPath. I have some XML which looks like this:
BoBWidget
  • 23
  • 3
2
votes
1 answer

XSLT improvement

I have 2 example xml files ONE a ONE two a Desired output for the…
user3319738
2
votes
1 answer

XSLT v1.0 - How to group uneven atributes?

I am trying to implement a grouping using xslt on xml elements for attributes that do not really share any common value and i am not sure if i should use the muenchian grouping or not, although i already grouped my elements with this method in my…
jeevium
  • 733
  • 6
  • 10
2
votes
2 answers

Muenchian Grouping - group within a node, not within the entire document

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):…
kristian
  • 22,731
  • 8
  • 50
  • 78
2
votes
1 answer

How to organize(group) nodes under a closed element - XSLT

I have tried simple grouping XML with XSLT 1.0 and it worked, but here I have something more complicated and actually different situation. So the XML structure is basically this:
--> some elements and stuff - not relevant
Syspect
  • 921
  • 7
  • 22
  • 50
2
votes
2 answers

xslt 1.0 grouping with compound keys (at different levels)

I have a transformation where I am trying to record a set of flattened transaction details and at the end of the file provide a summation of totals grouped by tender type and register number. Recording the set of individual transaction details is…
2
votes
1 answer

muenchian sum based on multiple grouping and adding termination

I want to obtain a better xml file using some xslt and xml below.Please provide XSLT 1.0 support .Thanks a lot. 2 1 2
chopstix21
  • 21
  • 4
2
votes
1 answer

XSL Muenchian method on substring

I'm trying to transform some XML output to a rating table (hydrology related) which consists of the hundredths values going across the top and the tenths values going down. The problem I'm running into is that I can't seem to sort for the unique…
mmcpheet
  • 78
  • 5
1
2
3
12 13