Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ferdy Hoefakker 214 posts 248 karma points
    Nov 17, 2010 @ 09:47
    Ferdy Hoefakker
    0

    XSLT extension not registering

    Another day, another problem it seems. I found a nice xslt script floating around the forums here for fetching all members in XSLT. I tried it out in a test site and everything works fine. When installing it on the site I need it in however, it just won't show up in the list of extensions.

    I placed the DLL in the bin folder, and copied the line where I register the extension from the xsltExtensions.config file to the file in the new site. And I of course added the xmlns to the xslt file.

    Details:

    Umbraco 4.0.3
    Windows server 2003
    msSQL 2008

    I followed the following tutorial: http://en.wikibooks.org/wiki/Umbraco/Create_xslt_exstension_like_umbraco.Library_in_C

    But somehow I am getting the idea I forgot something. It's pretty weird considdering it works just fine on the test site.

    -Ferdy

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Nov 17, 2010 @ 11:04
    Jan Skovgaard
    0

    Hi Ferdy

     

    Do you mind showing us, what you have written in your XsltExtensions.config?

    /Jan

  • Ferdy Hoefakker 214 posts 248 karma points
    Nov 17, 2010 @ 11:07
    Ferdy Hoefakker
    0

    Of course here it is:

    <?xml version="1.0" encoding="utf-8"?>
    <XsltExtensions>
      <!--
      <ext assembly="/bin/name-of-dll-without-dll-extension" type="Fully.Qualified.Name.Of.Type.Including.Namespace" alias="Prefix-to-use-in-xslt" />
      -->
      <ext assembly="/bin/getAllMediaItems" type="getAllMediaItems.getAllMediaItems" alias="bmExt"></ext>
      <ext assembly="/bin/xsltMemberExtensions" type="xsltMemberExtensions.members" alias="bmMemExt"></ext>
     
    </XsltExtensions>

  • 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.

Please Sign in or register to post replies