Sets up the component to run properly.
- Parameters
-
flags | [ in ] Set perferences for the new object. These preferences are fixed during the lifetime of the object. Note that using the P6XSLT_USEJSON flag will make the XSLT processor handle source input documents encoded in JSON rather than XML (which is the default). |
pErrorResult | [ in ] Created by the caller, any errors and trace (e.g., XPaht trace() function) messages generated during compile time and transformation are returned to this stream. This stream can be overridden in an compiled template by the p6IXSLTCompiled::changeTraceStream() method. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eAlreadyInitialized | Can only be called once successfully. |