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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  xsl help
Previous Previous
 
Next Next
New Post 2/20/2007 10:49 PM
User is offline Chris Wilde
19 posts
10th Ranked


xsl help 
Does anyone have an example of an xsl for a report?
 
New Post 2/22/2007 1:48 AM
User is offline Chris Wilde
19 posts
10th Ranked


Re: xsl help 
Modified By ErikVB  on 2/22/2007 7:47:57 AM)

O.k., well after much searching and trial and error, I now have an xsl for my report. My report uses a stored proceedure named "MeteorlogixReportSupport" by having "Execute MeteorlogixReportSupport" in the query box. This stored proceedure is for pulling in data from a user defined table. If you wanted to use it for your own user defined table, you just need to change all of the C7.UserDefinedFieldId = 247 to the number of your id's. In this case I am using 7 columns.

The sp is :

SELECT
C5.FieldValue as 'Server Name',
C7.FieldValue as 'Server Location',
C19.FieldValue as 'System Vendor',
C20.FieldValue as 'System Type',
C21.FieldValue as 'Service Tag',
C22.FieldValue as 'Express Tag',
C23.FieldValue as 'Support'

FROM UserDefinedData
AS C5
LEFT JOIN UserDefinedData AS C7 on C5.UserDefinedRowId = C7.UserDefinedRowId and C7.UserDefinedFieldId = 247
LEFT JOIN UserDefinedData AS C19 on C5.UserDefinedRowId = C19.UserDefinedRowId and C19.UserDefinedFieldId = 258
LEFT JOIN UserDefinedData AS C20 on C5.UserDefinedRowId = C20.UserDefinedRowId and C20.UserDefinedFieldId = 259
LEFT JOIN UserDefinedData AS C21 on C5.UserDefinedRowId = C21.UserDefinedRowId and C21.UserDefinedFieldId = 260
LEFT JOIN UserDefinedData AS C22 on C5.UserDefinedRowId = C22.UserDefinedRowId and C22.UserDefinedFieldId = 261
LEFT JOIN UserDefinedData AS C23 on C5.UserDefinedRowId = C23.UserDefinedRowId and C23.UserDefinedFieldId = 262

WHERE C5.UserDefinedFieldId = 246

my xsl file looks like this :






What this does is creates a table with the column heads and then fills in the table with alternating text red and blue and background gray and white. It also puts a space in for nulls. It also has the count at the bottom. Any questions, please let me know.

P.S. - if anyone can help me take this and change it to an excel spread sheet, that is my next step on my learning journey.

[edited to fix formatting]

 
New Post 2/22/2007 4:50 AM
Online now... ErikVB
3073 posts
www.apollo-software.nl
4th Ranked










Re: xsl help 
I had to edit your post, because the xml markup caused the formatting to go haywire. I placed the xsl code in a text area, that seemed to have fixed it. However, i noticed some markup is missing in line 2 probably. Maybe you can fix that...
Erik van Ballegoij,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

 
New Post 3/7/2007 7:08 PM
User is offline Chris Wilde
19 posts
10th Ranked


Re: xsl help 
Could you give me the format you want me to put the response in? IE - how you want it in a text area
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  xsl help
 


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.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

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