Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Zack Chauncy 1 post 21 karma points
    Sep 20, 2013 @ 00:04
    Zack Chauncy
    0

    Error parsing XSLT file: \xslt\NewsRSSFeedsDisplay.xslt

     

    Hello community!

    I've been recieving the above referenced error on our site.

    The following is the code for the file in question:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
    <xsl:stylesheet
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
    exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets ">


    <xsl:output method="xml" omit-xml-declaration="yes"/>

    <xsl:param name="currentPage"/>

    <xsl:template match="/">

    <xsl:variable name="feeditems" select="document('../App_Data/FeedCache/insideval.xml')//item" />

    <xsl:if test="count($feeditems) &gt; 0">
    <div class="newsList">
    <xsl:for-each select="$feeditems">
    <xsl:if test="position() &lt;= 12">
    <li>
    <a href="{./link}" target="_blank"><xsl:value-of select="./title" /></a>
    <small><xsl:value-of select="./pubDate" /></small>
    <p><xsl:value-of select="./description"/></p>
    </li>
    </xsl:if>
    </xsl:for-each>
    </div>
    </xsl:if>

    </xsl:template>

    </xsl:stylesheet>

     

     

    Any ideas would be greatly appreciated! As a side note, i didnt write this code nor am I even remotely familiar with coding. Please speak slowly and no big words!

     

    Thank you very much!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies