Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  grouping udt data using XSLT?
Previous Previous
 
Next Next
New Post 8/14/2008 10:48 AM
Resolved
User is offline Chris Sanyk
13 posts
10th Ranked


grouping udt data using XSLT? 

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 12:43 PM
User is offline Chris Sanyk
13 posts
10th Ranked


Re: grouping udt data using XSLT? 
Modified By Stefan Cullmann  on 8/15/2008 4:45:24 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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  grouping udt data using XSLT?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP