/ Published in: C#
                    
                                        
Currently the XsltExtension attribute will only work when the class is placed in the app_code folder, in umbraco Juno, we'll also look at types in assemblies, so no more need to update the /config/xsltExtensions.config but simply mark class with the attribute
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
[XsltExtension(Namespace="myAlias")]
public class SomeTest
{
public static string HelloWorld(string who)
{
return "Hello " + who;
}
}
URL: http://umbraco.org
Comments
 Subscribe to comments
                    Subscribe to comments
                
                