private static void XmlWrite( object obj, string content, StringBuilder buffer, int depth) { if (obj != null) { if (!content.Equals("")) { PrintTabs(1, buffer); buffer.AppendLine(content); } } }