Microsoft XML SDK 2.6 - XML Reference

IXSLProcessor::readyState Method

Returns the current state of the processor, as follows:

State Description
READYSTATE_UNINITIALIZED (0) This is the initial state until all the required properties are set (in particular, the input property). Calling transform at this point returns an error.
READYSTATE_LOADED (1) State when all the required properties are set. You can now call transform.
READYSTATE_INTERACTIVE (2) transform has been called but is not finished yet.
READYSTATE_COMPLETE (3) The transformation is finished, but there may still be some output to read if you are reading the output as a BSTR.

When you call reset or set any property, the state reverts to READYSTATE_LOADED. If a required property is cleared, it reverts to READYSTATE_UNINITIALIZED.

Visual Basic Syntax

lReadyState = objXSLProcessor.readyState

C/C++ Syntax

HRESULT readyState (long* pReadyState);

Parameters

pReadyState [out]
The state of the current transformation.

See Also

IXSLProcessor Interface