Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXSLT::initialize ( P6XSLTFLAGS  flags,
p6IDataStream pErrorResult 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eAlreadyInitializedCan only be called once successfully.