O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

IXsltContextFunction

Synopsis

The Microsoft .NET XSLT engine, like many other XSLT engines, allows custom functions inside of an XSLT stylesheet document. By providing an “extension object” to an XsltArgumentList instance, an XSLT stylesheet can “call out” to methods in the CLR. See the XsltArgumentList description for an example.

public interface IXsltContextFunction {
// Public Instance Properties
   public field XPathResultType[] ArgTypes{get; } 
   public field int Maxargs{get; } 
   public field int Minargs{get; } 
   public field XPathResultType ReturnType{get; } 
// Public Instance Methods
   public method object Invoke(XsltContext xsltContext, 
        object[] args, 
        System.Xml.XPath.XPathNavigator docContext);  
}

Returned By

XsltContext.ResolveFunction()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required