Partager via


input Property (Compact 2013)

3/26/2014

Specifies which XML input tree to transform.

Syntax

var objXMLDOMNode = objXSLProcessor.input;
objXMLDOMXSLProcessor.input = objXMLDOMNode;
HRESULT get_input(VARIANT* pVar);
HRESULT put_input(VARIANT pVar);

Parameters

Script

None.

C/C++

  • 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.

Return Value

Script

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++

  • 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.

Remarks

Setting this property resets the state of the processor.

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties