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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.