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 ForumsReportsReportsXSL Stylesheet to rename tags?XSL Stylesheet to rename tags?
Previous
 
Next
New Post
1/2/2008 2:09 AM
 

I've searched the web for an answer and the results are just more confusing.  I'm entirely new to xsl stylesheets and haven't got a clue.  I've seen that the tag names can be manipulated, but I haven't seen any examples that actually rename the tags themselves.  Is that possible?  For example, what I'd like to do is output xml that is actually rss friendly, but the default tag names don't allow for that.  If there were some way to rename the tags it would work, and it seemed like that might be possible through an xslt stylesheet.  Anyone know how to do that?  Or is that impossible?

Thanks,

Rick

Addition:

I created an xsl stylesheet and applied it to the reports module using the proper visualizer.  I get an empty module with no data, no errors reported, and the same basically empty feed.  Does that mean this just does not work in this module or is there something wrong with the stylesheet?  This is the first real stylesheet I've written and really don't know if it's properly done or not:

Well, the actual code got modified when pasting the text.  the "xsl:value-of selection="." are actually self closing tags, not the way they are here... can't seem to paste it without having it reformatted...


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
1/4/2008 8:08 PM
 

Hmm, the stylesheet looks right to me, but I'm not an XSLT expert either. My suggestion would be to find an XSLT processor (Google can help here), get some sample XML using the "Show Xml Source" button on the Module Settings page, and run the XSLT processor manually. As long as that works, the Reports module should do the same thing.


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsXSL Stylesheet to rename tags?XSL Stylesheet to rename tags?


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.