|
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:
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | pStream is NULL or flags is unrecognized. |
|