I've seen lots of posts with errors stating Error parsing XSLT file, but not one that seems related. I am working with blog4Umbraco and I altered my blogroll.xslt file. I wanted to include more parameters (an image) and replaced the BlogBlogroll.xslt file and not it says its not found! Not sure what I did wrong but here is the part of the file I changed:
If I've done something stupid and obvious, I apologize. I'm new to Umbraco and xslt but i read the intro to xslt and it seems intuitive enough that I gave it a shot.
Thanks in advance for any pointers.
OK, so I was able to get rid of the error. For some reason though, when I started using my "Super Blog Roll" datatype with the Repeatable Custom Content v2 render control, it is not sending the data into this. This may come from a complete lack of experience with Umbraco, but I'm a bit stuck. I made sure the alias' matched the names in the code and still nothing. I think it is coming from what i have in the second line of this code or the sixth line...
<!-- The fun starts here --> <xsl:if test="count($currentPage/ancestor-or-self::node [@nodeTypeAlias = 'Blog']/data [@alias = $propertyAlias]/links/link) > 0"> <li id="linkcat-2" class="linkcat"> <h3>Blogroll</h3>
Error reading XSLT file
umbraco v 4.0.3
asp.NET 2.0
Windows Server 2003
IIS 6
I've seen lots of posts with errors stating Error parsing XSLT file, but not one that seems related. I am working with blog4Umbraco and I altered my blogroll.xslt file. I wanted to include more parameters (an image) and replaced the BlogBlogroll.xslt file and not it says its not found! Not sure what I did wrong but here is the part of the file I changed:
[code]
<ul>
<xsl:for-each select="$currentPage/data [@alias = $propertyAlias]/links/link">
<li><a href="{umbraco.library:NiceUrl(./@link)}" target="_blank">
<img src="{./@image}" />
<xsl:value-of select="./@name"/>
</a>
</li>
</xsl:for-each>
</ul>
[/code]
If I've done something stupid and obvious, I apologize. I'm new to Umbraco and xslt but i read the intro to xslt and it seems intuitive enough that I gave it a shot. Thanks in advance for any pointers.
Sorry about that here is the correct code.
OK, so I was able to get rid of the error. For some reason though, when I started using my "Super Blog Roll" datatype with the Repeatable Custom Content v2 render control, it is not sending the data into this. This may come from a complete lack of experience with Umbraco, but I'm a bit stuck. I made sure the alias' matched the names in the code and still nothing. I think it is coming from what i have in the second line of this code or the sixth line...
any ideas?
Thanks again.
is working on a reply...