void ReadDocumentInfo(XmlElement element)
{
foreach(XmlAttribute attribute in element.Attributes)
{
// author
if (attribute.Name.Equals("author"))
m_Data.documentInfo.author = attribute.Value;
// copyright
else if (attribute.Name.Equals("copyright"))
m_Data.documentInfo.copyright = attribute.Value;
// license
else if (attribute.Name.Equals("license"))
m_Data.documentInfo.license = attribute.Value;
// version
else if (attribute.Name.Equals("version"))
m_Data.documentInfo.version = attribute.Value;
// last_modified
else if (attribute.Name.Equals("last_modified"))
m_Data.documentInfo.lastModified = attribute.Value;
// notes
else if (attribute.Name.Equals("notes"))
m_Data.documentInfo.notes = attribute.Value;
}
}