The blog is working fine, except for the Tag Cloud page
I am getting the following:
Error reading XSLT file: \xslt\BlogTagcloud.xslt
Using debug mode the following information is available:
Error loading XSLT BlogTagcloud.xslt XSLT compile error. at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil) at System.Xml.Xsl.XslCompiledTransform.CompileXsltToQil(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at umbraco.macro.CreateXsltTransform(XmlTextReader xslReader, Boolean debugMode) at umbraco.macro.getXslt(String XsltFile) at umbraco.macro.loadMacroXSLT(macro macro, Hashtable attributes, Hashtable pageElements)
I have removed all XSLT coding and simply left a paragraph of static text but still get the same error. So I am assuming there is something wrong with the extensions.
Can anyone enlighten me on where to start looking?
Error With Tag Cloud XSLT
Hey
Have just installed Blog4Umbraco on 4.5 version.
The blog is working fine, except for the Tag Cloud page
I am getting the following:
Using debug mode the following information is available:
I have removed all XSLT coding and simply left a paragraph of static text but still get the same error. So I am assuming there is something wrong with the extensions.
Can anyone enlighten me on where to start looking?
Thanks
Nigel
the temporary solution is unpublish the tag cloud on the content site, i got same problem and have no idea about the workaround
Can you post your XSLT for BlogTagCloud.xslt
Hi Owen
I have left the tag cloud out of the site I built - wasn't really a "must have" at this stage.
Were you wanting working code to refer to or were you thinking you might be able to identify what was wrong ?
The reason for asking is that I have another site to build that will require a tag cloud and so interested to find out the angle you are coming from.
If I get this new site sorted with a tag cloud then I'd be only too happy to share findings / experiences.
Cheers
Nigel
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>
what is the problem here?
Hi Ujwal
What version of Umbraco are you using? And do you have any starter kits installed or just the blog4umbraco package?
/Jan
Hi there
I have just discovered the problem thanks to this post.
I have just opened "BlogTagCloud.xslt" in Notepad rather than Visual Web Developer.
At the end of the file there was a square ( ) displayed after the closing </xsl:stylesheet> tag. Removing this has solved the problem.
I hope this helps others who have had similar frustrations.
Nigel
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.