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
Trying to do the following.
<a class="addthis_counter addthis_pill_style"><xsl:attribute name="addthis:url"><xsl:value-of select="umbraco.library:NiceUrl($post/@id)" /></xsl:attribute></a>
Error: System.Xml.Xsl.XslLoadException: Prefix 'addthis' is not defined
Any Solutions?
Hi skiltz,
You need to add a namespace declaration on the <xsl:stylesheet> element to declare the addthis prefix, e.g.:
<xsl:stylesheet version="1.0" xmlns:addthis="http://www.addthis.com/help/api-spec">
And you can then do this:
<a class="addthis_counter addthis_pill_style" addthis:url="{umbraco.library:NiceUrl($post/@id)}">...</a>
/Chriztian
Thank you heaps. Appreciated.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
using ":" in xslt attribute.
Trying to do the following.
<a class="addthis_counter addthis_pill_style">
<xsl:attribute name="addthis:url">
<xsl:value-of select="umbraco.library:NiceUrl($post/@id)" />
</xsl:attribute>
</a>
Error: System.Xml.Xsl.XslLoadException: Prefix 'addthis' is not defined
Any Solutions?
Hi skiltz,
You need to add a namespace declaration on the <xsl:stylesheet> element to declare the addthis prefix, e.g.:
And you can then do this:
/Chriztian
Thank you heaps. Appreciated.
is working on a reply...