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">
<b><br/><br/> <a href="<xsl:value-of select="link"/>" target="_yahoonews"><xsl:value-of select="title"/></a> <br/><br /> </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>
<?
<
<%