Partager via


input Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Specifies which XML input tree to transform.

Script Syntax

var objXMLDOMNode = objXSLProcessor.input;
objXMLDOMXSLProcessor.input = objXMLDOMNode;

Remarks

Script Parameters

None.

Script Return Value

The input XML to which to apply the transformation. 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++ Syntax

HRESULT get_input(
  VARIANT* pVar
);
HRESULT put_input(
  VARIANT pVar
);

Remarks

C/C++ Parameters

  • pVar
    [out, retval][in] The input XML to which to apply the transformation. 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.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

Setting this property resets the state of the processor.