protected void WriteStartBlog(
string title,
ContentTypes titleContentType,
string subTitle,
ContentTypes subTitleContentType,
string rootUrl,
DateTime dateCreated)
{
//WriteStartElement("blog");
Writer.WriteStartElement("blog", BlogMLNamespace); // fixes bug in Work Item 2004
WriteAttributeStringRequired("root-url", rootUrl);
WriteAttributeString("date-created", FormatDateTime(dateCreated));
// Write the default namespace, identified as xmlns with no prefix
Writer.WriteAttributeString("xmlns", null, null, "http://www.blogml.com/2006/09/BlogML");
Writer.WriteAttributeString("xmlns", "xs", null, "http://www.w3.org/2001/XMLSchema");
WriteContent("title", BlogMLContent.Create(title, titleContentType));
WriteContent("sub-title", BlogMLContent.Create(subTitle, subTitleContentType));
}