Edit

Share via


XmlDsigXsltTransform.LoadInput(Object) Method

Definition

Loads the specified input into the current XmlDsigXsltTransform object.

public:
 override void LoadInput(System::Object ^ obj);
public override void LoadInput (object obj);
override this.LoadInput : obj -> unit
Public Overrides Sub LoadInput (obj As Object)

Parameters

obj
Object

The input to load into the current XmlDsigXsltTransform object.

Examples

The following code example demonstrates how to call the LoadInput method using the specified XmlDocument object as the input. This code example is part of a larger example provided for the XmlDsigXsltTransform class.

XmlNamespaceManager^ namespaceManager;
namespaceManager = gcnew XmlNamespaceManager( xmlDoc->NameTable );
XmlNodeList^ productsNodeList;
productsNodeList = xmlDoc->SelectNodes( L"//.", namespaceManager );
xmlTransform->LoadInput( productsNodeList );
XmlNamespaceManager namespaceManager;
namespaceManager = new XmlNamespaceManager(xmlDoc.NameTable);

XmlNodeList productsNodeList;
productsNodeList = xmlDoc.SelectNodes("//.", namespaceManager);

xmlTransform.LoadInput(productsNodeList);
dim namespaceManager as New XmlNamespaceManager(xmlDoc.NameTable)

Dim productsNodeList As XmlNodeList
productsNodeList = xmlDoc.SelectNodes("//.", namespaceManager)

xmlTransform.LoadInput(productsNodeList)

Remarks

The type of the input object must be one of the types in the InputTypes property. The valid input types to XmlDsigXsltTransform are Stream, XmlDocument, and XmlNodeList.

Applies to