Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listgrouping udt data using XSLT?grouping udt data using XSLT?
Previous
 
Next
New Post
8/14/2008 12:48 PM
 

I need to write a custom XSL transform for my UDT which will group the table output using one of the user-defined data fields as the grouping category.

This thread in the forums states that it is possible, and that "nothing special" is needed to get Muenchian grouping to work with the UDT data, but I have been unsuccessful in my efforts to get a working Muenchian grouping XSL to work with my UDT module.  Examples of the Muenchian sorting algorithm that I've pulled from other sources don't work directly and I have been unable to figure out how to modify them correctly to get it to work within the UDT module.  I've been frustrated in my efforts as I do not know XML/XSL very well, and as well I don't have any means to debug my attempts at a working transform. 

Can anyone provide a working code example for a simple UDT module that I could apply to my code? 

 
New Post
8/15/2008 2:43 PM
 

Kudos to Stefan Cullmann for providing personal assistance with this question.  I received email from Stefan, in which he outlines the approach he took to creating an XSL transform file which accomplished the desired grouping.  Stefan writes:

I googled for "Muenchian Grouping", opened the first link
(http://www.jenitennison.com/xslt/grouping/muenchian.html) to use it as template.

Afterwards I openend your XML and XSL file in VS2008 Professional, which is also a really excelllent XSL IDE. I removed the root note
("content") from the xml, now the XML is 2/3 complete (data and fields are there, context is missing, though not needed here.

 

Additionally, I've included the completed XSL code below.  This transform will take a UDT with user-defined fields for "Department", "Name", "Extension", and "E-Mail Address" and renders a table with the UDT's records grouped by Department.


[removed, Author contacted]
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listgrouping udt data using XSLT?grouping udt data using XSLT?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out