virtual P6R::P6ERR P6R::p6IXMLNode::toString ( P6WCHAR *  pBuffer,
P6UINT32 *  pLength 
) [pure virtual]

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:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgpLength is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.