my code is that:
while((m_TXmlDoc->FirstChild()->ToDeclaration())!=NULL)
{
m_TXmlDoc->FirstChild()->Clear();
m_TXmlDoc->Print(stderr);
}
when I run ,,it show that the clear ,does not work?!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my code is that:
while((m_TXmlDoc->FirstChild()->ToDeclaration())!=NULL)
{
m_TXmlDoc->FirstChild()->Clear();
m_TXmlDoc->Print(stderr);
}
when I run ,,it show that the clear ,does not work?!