Return all the values in the result set in XML format.
Each XML element will have the names of the columns defined in the database schema. Entries in the result set that have a NULL value will be represented as an empty element. After calling this function, a call to reset() would be needed to access any of the result set data.
- Parameters
-
pOutput | [ in ] The XML output is written to this data stream. |
pTopElement | [ in ] String to be used for the top most element in the generated XML document. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eInvalidArg | One of the pointers is NULL. |
P6R::eFormatError | If pTopElement points to a string containing either '<' or '&' characters, which are illegal for XML element names. |