public static CT_CommentList Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_CommentList ctObj = new CT_CommentList(); ctObj.comment = new List <CT_Comment>(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "comment") { ctObj.comment.Add(CT_Comment.Parse(childNode, namespaceManager)); } } return(ctObj); }