XsltArgumentList Class

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

Namespace: System.Xml.Xsl
Assembly: System.Xml (in system.xml.dll)

public class XsltArgumentList
public class XsltArgumentList
public class XsltArgumentList
Not applicable.

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

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 style sheets to be smaller and more easily maintained.

  • Supports passing node fragments (through the XPathNavigator) to the style sheet.

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


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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0