bool CMarkup::SetChildData( MCD_CSTR szData, int nFlags = 0 );
bool CMarkup::SetChildData( int nValue );
Call SetChildData
to replace the child position element's contents with the szData
string value. This will remove any child elements of the child position element if any. It returns false
if there is no child position.
As with SetData, the MNF_WITHCDATA
and MNF_WITHREFS
flags can be used to affect how the data value is stored.
As explained in more detail for SetData, with the MNF_WITHCDATA
flag the generated CDATA Section is split wherever sData
contains the ]]>
end delimiter. See CDATA Sections.