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 ListNeed sample source XML to deelop custom XSLNeed sample source XML to deelop custom XSL
Previous
 
Next
New Post
7/27/2006 5:15 PM
 
Id like to develop my own XSL for displaying the UDT in a custom way, and the sample XSLs give me some clues as to how to do this, but having acccess to the actual XML the UDT produces would be a huge help. Can someone tell meh ow to debug/display this or could they post an example?

Thanks,
Forrest
 
New Post
7/27/2006 6:52 PM
 

Hello Forrest,

I wrote a first blog some day before: http://dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1038/Default.aspx

I know that it is difficult to write your own XSL without any documentation. As the author of this enhancement  I am feeling a bit guilty that I included a link to the xsl but not to the current XML.

Nevertheless you can catch the XML in a few steps. Define your UDT as you like and add some sample data.

Open Pretty Print XML using XSLT (http://www.printk.net/~bds/indent.html), copy the displayed xsl stylesheet and save it as prettyPrint.xsl. Open ManageUDT, go to the display settings (for current page), select User Defined XSL StyleSheet and upload the stylesheet. Select it and save.

Now you will you see the whole inner text as output. Open now the module in print preview, change to html code view. You will find the xml document starting at line 25. The opening/closing tag is UserDefinedTable. Copy it to a new file and save it as data.xml. Now you have a working copy of your UDT Data to create a XSL stylesheet with your favorite tools offline.

The direct xml output for everybody with manageUDT permissions will hopefully get into the next UDT release, it is on our roadmap.

Thank you,

 
New Post
7/27/2006 7:00 PM
 
Wow.. quick and thoroughly helpful reply..  awesome!

Thanks, I will dive into this immediately.
Forrest
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListNeed sample source XML to deelop custom XSLNeed sample source XML to deelop custom XSL


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