Copied to clipboard

Flag this post as spam?

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


  • ujwal shrestha 12 posts 32 karma points
    Mar 01, 2011 @ 03:28
    ujwal shrestha
    0

    Error reading XSLT file: \xslt\BlogTagcloud.xslt

    <?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" xmlns:tagsLib="urn:tagsLib" xmlns:BlogLibrary="urn:BlogLibrary"
      exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets tagsLib BlogLibrary ">


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

        <xsl:param name="currentPage"/>

        <xsl:template match="/">
            <div class="tagcloud">
                <p>

                    <xsl:for-each select="tagsLib:getAllTags()/tags/tag">
                        <xsl:sort select="." order="ascending"/>
                        <href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}">
                            <xsl:attribute name="class">
                                <xsl:choose>
                                    <xsl:when test="@nodesTagged &gt; 5">
                                        <xsl:value-of select="string('tagweight5')"  />
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="concat('tagweight',@nodesTagged)"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </xsl:attribute>
                            <xsl:value-of select="."/>
                        </a>
                        <xsl:text</xsl:text>
                    </xsl:for-each>

                </p>
            </div>

        </xsl:template>

    </xsl:stylesheet>

  • Kim Andersen 1447 posts 2196 karma points MVP
    Mar 01, 2011 @ 07:56
    Kim Andersen
    0

    HI ujwal.

    Could you try putting the following in the end of your URL where you get this error: ?umbdebugshowtrace=true.

    Then find somewhere in the trace that has a red color and paste it in here.

    /Kim A

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Mar 01, 2011 @ 08:10
    Jan Skovgaard
    0

    Hi Ujwal

    Please don't multipost when you have a problem. It is a bit confusing for those who are trying to help you and it must also be a bit confusing for you to remember in, which post you got the solution provided. :-)

    Kim is giving a good suggestion in here and I have answered in this post with some other information that could make it much easier to help you out: http://our.umbraco.org/projects/collaboration/blog-4-umbraco/using-blog-4-umbraco/16686-Error-With-Tag-Cloud-XSLT?p=0#comment67262

    /Jan

  • 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