public void Save( FileInfo _FileName )
{
XmlDocument Doc = new XmlDocument();
XmlElement Root = Doc.CreateElement( "TexturesDatabase" );
Doc.AppendChild( Root );
SetAttribute( Root, "Location", m_RootPath.FullName );
SetAttribute( Root, "EntriesCount", m_Entries.Count.ToString() );
foreach ( Entry E in m_Entries )
{
XmlElement EntryElement = AppendElement( Root, "Entry" );
E.Save( this, EntryElement );
}
Doc.Save( _FileName.FullName );
}