Name

IXsltContextFunction — System.Xml.Xsl (system.xml.dll)   interface 

Synopsis

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

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.

Returned By

XsltContext.ResolveFunction( )

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.