System::Xml::Xsl::XsltArgumentList class

XsltArgumentList class

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

class XsltArgumentList : public System::Object

Methods

MethodDescription
AddExtensionObject(const String&, const SharedPtr<Object>&)Adds a new object to the XsltArgumentList and associates it with the namespace URI.
AddParam(const String&, const String&, const SharedPtr<Object>&)Adds a parameter to the XsltArgumentList and associates it with the namespace qualified name.
Clear()Removes all parameters and extension objects from the XsltArgumentList.
GetExtensionObject(const String&)Returns the object associated with the given namespace.
GetParam(const String&, const String&)Returns the parameter associated with the namespace qualified name.
RemoveExtensionObject(const String&)Removes the object with the namespace URI from the XsltArgumentList.
RemoveParam(const String&, const String&)Removes the parameter from the XsltArgumentList.
XsltArgumentList()Implements a new instance of the XsltArgumentList.

Fields

FieldDescription
XsltMessageEncounteredOccurs when a message is specified in the style sheet by the xsl:message element.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also