src/sitemapservice/sitemapelement.cc
std::string UrlElement::ToString() const {
  std::ostringstream ostrstream;
  ostrstream << "Url: "
    << "changefreq: " << changefreq_
    << "lastmod: " << lastmod_
    << "loc_: " << loc_
    << "priority_" << priority_;
  return ostrstream.str();
}
// These ToString methods can't be used for the purpose of generating xml file.
// They have very low efficiency, but more user friendly.
// Thus, they can be used for debugging purpose.
These ToString methods can't be used for the purpose of generating xml file.
They have very low efficiency, but more user friendly.
Thus, they can be used for debugging purpose.
These ToString methods can ' t be used for the purpose of generating xml file . They have very low efficiency but more user friendly . Thus they can be used for debugging purpose .
std::string UrlElement::ToString() const {
  std::ostringstream ostrstream;
  ostrstream << "Url: "
    << "changefreq: " << changefreq_
    << "lastmod: " << lastmod_
    << "loc_: " << loc_
    << "priority_" << priority_;
  return ostrstream.str();
}
std :: string UrlElement :: ToString ( ) const { std :: ostringstream ostrstream ; ostrstream << " " << " " << changefreq_ << " " << lastmod_ << " " << loc_ << " " << priority_ ; return ostrstream . str ( ) ; }
These ToString methods can't be used for the purpose of generating xml file.
These ToString methods can ' t be used for the purpose of generating xml file .