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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  external xml xsl sources error
Previous Previous
 
Next Next
New Post 10/10/2007 11:11 AM
User is offline Miguel S
13 posts
10th Ranked


Re: external xml xsl sources error 

Thanks for the advice..... Calling Godaddys customer support is like hitting a brick wall...I have spent, literaterally, hours trying to get them to do something for me...and they always find a good reason why not to change a setting.

I guess its a lot simpler just to say that the DNN XML module is not compatible with Godaddys hosting services and move into another provider if you really want it. In my case, I will just go back to creating my own code to consume ther XML service (I know for a fact this works)...lots simpler. Thanks again!

 
New Post 10/10/2007 11:37 AM
User is offline Stefan Cullmann
1454 posts
6th Ranked








Re: external xml xsl sources error 

I would be really surprised if you are able to write/run any .NET code that will break the limits of medium trust. 
Good luck.
If you have success, please share your experiences with us. 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 10/10/2007 7:00 PM
User is offline Miguel S
13 posts
10th Ranked


Re: external xml xsl sources error 

Here is the code that I'm using to consume an XML service:   (Same server where the DNN XML wont work because trust levels)

 

******************************************************************************************************

yahoonews.aspx

******************************************************************************************************

 

 @ Page Language="VB" %>

<!

<

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">script runat="server">

 

 

 

 

Sub Page_Load()Dim s1, myxsl1 As String

s1 =

"http://rss.news.yahoo.com/rss/topstories"

myxsl1 =

"/xsl/yahoonews.xsl"

 

 

 

 

 

Dim d1 As New System.Xml.XmlDocumentDim u1 As New System.Xml.XmlTextReader(s1)Try

d1.Load(u1)

XmlYahooNews.Visible =

True

XmlYahooNews.XPathNavigator = d1.CreateNavigator

XmlYahooNews.TransformSource = myxsl1

 

 

 

 

Catch ex As ExceptionEnd Try

 

 

</

<

<

End Subscript>html xmlns="http://www.w3.org/1999/xhtml" >head id="Head1" runat="server">

 

</

<

<title>Dallas House Keeper</title>head>body>

 

<form id="form1" runat="server">

 

<div>

 

<asp:Xml id="XmlYahooNews" DocumentSource="" TransformSource="" runat="server" />

 

</div>

 

</

</

</form>body>html>
*****************************************************************************************************

 

******************************************************************************************************

yahoonews.xsl

******************************************************************************************************

 xml version="1.0"?>xsl:stylesheet version="1.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:ynews="http://news.yahoo.com/rss/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >

 

<

<

<xsl:output method="text" encoding="UTF-8" indent="no"/>xsl:param name="TITLE"/>xsl:template match="rss">

 

<!-- Do not show channel image -->

 

<xsl:for-each select="channel/item">

 

 

 

 

&lt;b>&lt;br/>&lt;br/> &lt;a href="<xsl:value-of select="link"/>" target="_yahoonews"><xsl:value-of select="title"/>&lt;/a> &lt;br/>&lt;br /> &lt;/b><!-- only display markup for description if it's present -->

 

<xsl:value-of select="description"/>

 

</

<

</xsl:for-each>xsl:template>xsl:template match="description">

 

<br>

 

<xsl:value-of select="."/>

 

</

</

 

******************************************************************************************************

 

 

</br>xsl:template>xsl:stylesheet>

<?

<

<%

 
New Post 10/10/2007 7:04 PM
User is offline Miguel S
13 posts
10th Ranked


Re: external xml xsl sources error 
I was not able to post the code in legible way, I can send it to you by email if you wish. Here is the working example: http://www.thesuperclick.com/dallashousekeeper/default2.aspx
 
New Post 10/11/2007 1:11 AM
User is offline Stefan Cullmann
1454 posts
6th Ranked








Re: external xml xsl sources error 

default2.aspx is not working for me.
However your issue seems not to be related to medium trust. Even the Asp.Net XMLControl must follow this policy.
Please send me some more details. Can you please export the settings of the not working XmlModule, your XSL stylesheet and your code to stefan.cullmann@dotnetnuke.com
Don't expect a fast answer, as I am going on vacation for the next 10 days.
 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  external xml xsl sources error
 


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