allowing : in xslt output

birwin's Avatar


17 Nov, 2015 06:31 PM

Hi there, we're hoping to use the 'add this' tool in some of our pages. When speaking with the add this support team, they told us we had to use the legacy markup which looks like this:

<a class="addthis_button_compact icon icon-share" addthis:title="{title}" addthis:url="{path}" href="{path}" title="Share"></a>

My issues is that I'm unable to save the xslt format with the : in it. I tried to use <!--#protect and <!--#passthrough and <!--#START-CODE to try to get Cascade to process the {variables} but allow the :

I know I'm missing something small, any help, as always appreciated.



  1. Support Staff 1 Posted by Tim on 18 Nov, 2015 03:18 PM

    Tim's Avatar

    Hey Brendon,

    Try adding a namespace for 'addthis' at the top of your XSLT Format. For example:

    <xsl:stylesheet xmlns:xsl="" version="1.0" xmlns:addthis="">
    Then, you probably won't even need to use any passthrough/protect code sections.

    Let me know if that does the trick.


  2. Support Staff 2 Posted by Tim on 02 Dec, 2015 02:42 PM

    Tim's Avatar

    Hey Brendon,

    Just wanted to make sure you saw [my previous comment]( Let me know if that helps.


  3. 3 Posted by birwin on 02 Dec, 2015 03:10 PM

    birwin's Avatar

    Hi Tim,

    I totally forgot to reply, yes that did the trick! Thank you!

  4. Support Staff 4 Posted by Tim on 02 Dec, 2015 03:12 PM

    Tim's Avatar

    Sweet! Glad that worked, Brendon. Thanks for the update and have a good one!

  5. Tim closed this discussion on 02 Dec, 2015 03:12 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM