Microsoft XML SDK 2.6 - XML Reference

IXSLProcessor::input Method

IXSLProcessor::get_input Method

Specifies which XML input tree to transform. Setting this property resets the state of the processor.

Visual Basic Syntax

Set objXMLDOMNode = objXSLProcessor.input

C/C++ Syntax

HRESULT get_input (VARIANT * pVar);

Parameters

pVar [out]
The input XML to apply the transformation to. This can be any object that supports ISequentialStream, IStream, or an IXMLDOMNode. If applying the transformation to an IXMLDOMNode, any node type and any threading model can be specified. If this argument is Null, the existing input will be cleared.

C/C++ Return Values

E_FAIL
Value returned if readyState is READYSTATE_INTERACTIVE.
E_INVALIDARG
Value returned if the variant is not VT_DISPATCH or VT_UNKNOWN.
E_NOINTERFACE
Value returned if the argument does not support IStream or IXMLDOMNode.


IXSLProcessor::put_input Method

Specifies which XML input tree to transform. Setting this property resets the state of the processor.

Visual Basic Syntax

objXMLDOMXSLProcessor.input = objXMLDOMNode

C/C++ Syntax

HRESULT put_input (VARIANT pVar);

Parameters

pVar [in]
The XML input tree to transform.

C/C++ Return Values

E_FAIL
Value returned if readyState is READYSTATE_INTERACTIVE.
E_INVALIDARG
Value returned if the variant is not VT_DISPATCH or VT_UNKNOWN.
E_NOINTERFACE
Value returned if the argument does not support IStream or IXMLDOMNode.

See Also

XSLTemplate JScript Examples

IXSLProcessor Interface