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 ForumsXMLXMLexternal xml xsl sources errorexternal xml xsl sources error
Previous
 
Next
New Post
10/10/2007 2:11 PM
 

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 2:37 PM
 

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. 

 
New Post
10/10/2007 10:00 PM
 

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 10:04 PM
 
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 4:11 AM
 

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.
 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLexternal xml xsl sources errorexternal xml xsl sources error


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