Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXSLTCompiled::changeTraceStream ( p6IDataStream pTrace)
pure virtual

Run time trace and error messages and from the XSLT and XPath processor can be directed to a different datastream than is used for the result document (warning messages do not stop execution).

This "trace datastream" is specified in the p6IXSLT::initialize( P6XSLTFLAGS flags .. ) method call. However, this stream can be changed in any compiled template (any number of times) by the use of this method.

Parameters
pTrace[ in ] Can be NULL (thus turning off any messages), a datastream created by the caller.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpNumber is NULL