public static void WriteIndexFile(string OutputPath, List <SitemapNode> Nodes)
 {
     using (StreamWriter Writer = new StreamWriter(OutputPath))
     {
         WriteSitemapHeader(Writer);
         SitemapNode.WriteList(Writer, Nodes, "");
         WriteSitemapFooter(Writer);
     }
 }
 public static void WriteContentsFile(string OutputPath, List <SitemapNode> Nodes)
 {
     using (StreamWriter Writer = new StreamWriter(OutputPath))
     {
         WriteSitemapHeader(Writer);
         Writer.WriteLine("<OBJECT type=\"text/site properties\">");
         Writer.WriteLine("\t<param name=\"ImageType\" value=\"Folder\">");
         Writer.WriteLine("</OBJECT>");
         SitemapNode.WriteList(Writer, Nodes, "");
         WriteSitemapFooter(Writer);
     }
 }