public bool CreateEmptyResource(PhactoryHost.Database.Resource resource) { Document.Document newDoc = new Document.Document(); return(Host.XMLWrite(Host.GetFileInfo(resource).FullName, newDoc)); }