Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMXML::output ( p6IDataStream pStream,
P6DOMOUTPUT  flags 
)
pure virtual

Serialize the DOM document into the pStream parameter in one of the supported formats: { XML, JSON }.

Parameters
pStream[ in ] A datastream allows the caller to write the document anywhere (e.g., a file, socket, buffer).
flags[ in ] a bit mask of output flags defining the output format
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgpStream is NULL or flags is unrecognized.