IXsltContextFunction

IXsltContextFunction

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

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 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   ); } 

Returned By

XsltContext.ResolveFunction( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net