This documentation is archived and is not being maintained.

XsltArgumentList Class

Contains a variable number of arguments which are either XSLT parameters or extension objects.

For a list of all members of this type, see XsltArgumentList Members.


[Visual Basic]
NotInheritable Public Class XsltArgumentList
public sealed class XsltArgumentList
public __gc __sealed class XsltArgumentList
public class XsltArgumentList

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


This class is used by the Transform method. It allows parameters and extension objects to be invoked from within the stylesheet.

When the parameters and objects are added to the XsltArgumentList, they are associated with a namespace qualified name and a namespace URI, respectively.

The following are advantages to passing an object rather than using an embedded script such as <msxsl:script>:

  • Provides better encapsulation and reuse of classes.
  • Allows stylesheets to be smaller and more easily maintained.
  • Supports calling methods on classes belonging to other namespaces other than those defined within the set of supported system namespaces.
  • Supports passing node fragments (through the XPathNavigator) to the stylesheet.

For more information about using the XsltArgumentList, see XsltArgumentList for Stylesheet Parameters and Extension Objects.


Namespace: System.Xml.Xsl

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Xml (in System.Xml.dll)

See Also

XsltArgumentList Members | System.Xml.Xsl Namespace