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 ForumsXMLXMLVery Specific XML file queryVery Specific XML file query
Previous
 
Next
New Post
9/2/2009 11:49 AM
 

hi there

I'm trying to add the following URL to the XML/XSL module with no success

http://ww7.investorrelations.co.uk/hrg/xml-shareprice.jsp

If you click the link all the values show correctly, but when i add it to the module i get an error message. The XSL Code I'm using is this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:output method="html" version="1.0" encoding="utf-8" indent="yes"/>
<xsl:template match="/">
  <html>
  <body>
    <table border="0" width="100%">
      <xsl:for-each select="Results/SharePriceDetails">
      <tr>
        <td class="normal"><font size="5" color="#cc0000"><xsl:value-of select="CurrentPrice"/></font><xsl:value-of select="Currency"/></td>
      </tr>
      <tr>
        <td class="normal">Shares Traded <xsl:value-of select="Volume"/></td>
      </tr>
        <tr>
            <td class="normal">Delayed by at least 15 minutes</td>
        </tr>
        <tr>
            <td class="normal"><a href="http://ww7.global3digital.com/hrg/en/investor-relations/shareprice">Find out more ></a></td>
        </tr>       
      </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>

Any ideas. Please?!

 
New Post
9/2/2009 1:39 PM
 

Can you please post your error message? Maybe your server is running in medium trust, but it is difficult without more details.

PS: The xml module inserts the result into the page - no html or body tags required.

 
New Post
9/3/2009 4:38 AM
 

Hi

The error message is as follows:

An error has occurred.
Error: XML/XSL is currently unavailable.

James

 
New Post
9/3/2009 5:28 AM
 

Can you please post the  related (and detailed) entry inside the (admin->) event log?

 
New Post
9/3/2009 11:11 AM
 

This?

9/3/2009 4:08:24 PM   Module Load Exception   onlineuk     ModuleId: 27903; ModuleDefId: 107; FriendlyName< ...
ModuleId: 27903
ModuleDefId: 107
FriendlyName: XML/XSL
ModuleControlSource: DesktopModules/XML/XmlModule.ascx
AssemblyVersion: 03.02.00
Method: System.Net.HttpWebRequest.CheckFinalStatus
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 40
PortalName: Hogg Robinson Group
UserID: 359
UserName: onlineuk
ActiveTabID: 1042
ActiveTabName: Business In The Community
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://hoggrobinsongroup.hrgworldwide.com/Admin/Tabs/tabid/1010/Default.aspx
ExceptionGUID: 6c50e300-3bc9-46fa-bac4-fb13f917a5f6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: The underlying connection was closed: Unable to connect to the remote server.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The underlying connection was closed: Unable to connect to the remote server. ---> System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at DotNetNuke.Common.Utilities.XmlUtils.GetXMLContent(String ContentUrl) at DotNetNuke.Modules.XML.XmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: SKIRRET
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLVery Specific XML file queryVery Specific XML file query


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