Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " ">]><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"/> <a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}"> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="@nodesTagged > 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>
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
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
is working on a reply...
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.
Continue discussion
Error reading XSLT file: \xslt\BlogTagcloud.xslt
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
]>
<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"/>
<a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}">
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@nodesTagged > 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>
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
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
is working on a reply...
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.