Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode2::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.