MCD_STR CMarkup::GetChildData() const;

The GetChildData method returns the string data value of the child position element. It returns an empty string if there is no data, or there is no child position, or the child position element contains descendants.

As with GetData, the data value will be combined from a CDATA Section or even multiple CDATA Sections and text nodes.

Update November 20, 2010: With release 11.3 CMarkup has document flags to trim whitespace and collapse whitespace which will affect the value returned by GetChildAttrib (see Whitespace and CMarkup).