protected override void LoadMetadata()
{
doc = new XmlDocument ();
using (StreamReader reader = new StreamReader (filename)) {
date = DateTime.Parse (reader.ReadLine ());
address = IPAddress.Parse (reader.ReadLine ());
doc.Load (reader);
}
definitions = GetNodeValue (doc, "/report/metadata/definitions");
moma_version = GetNodeValue (doc, "/report/metadata/momaversion");
user_name = GetNodeValue (doc, "/report/metadata/name");
email = GetNodeValue (doc, "/report/metadata/email");
organization = GetNodeValue (doc, "/report/metadata/organization");
homepage = GetNodeValue (doc, "/report/metadata/homepage");
comments = GetNodeValue (doc, "/report/metadata/comments");
app_type = GetNodeValue (doc, "/report/metadata/apptype");
}