internal static Comment[] GetComments(XmlNode node)
{
if( node.Attributes["photo_id"] != null )
_photoId = node.Attributes["photo_id"].Value;
XmlNodeList nodes = node.SelectNodes("comment");
_comments = new Comment[nodes.Count];
for(int i = 0; i < _comments.Length; i++)
{
_comments[i] = new Comment(_photoId, nodes[i]);
}
return _comments;
}