For a node with children this method concatenates all values of each child into the buffer parameter.
If a node is a child then this method returns the value of the child. If the pBuffer is NULL then the required size for the copy is returned in pLength. This method returns the XML in wide string format (e.g., it does not encode it into UTF8).
- Parameters
-
pBuffer | [ out ] Write the value of the node's children into this buffer. It must be large enough to hold the entire string. If NULL, the method returns the required buffer length |
pLength | [ in out ] On input it specifies the length of pBuffer in wide characters. On output it specifies the amount of data written to pBuffer. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | pLength is NULL. |