public XDocument CreateAndLoad(string xmlFilePath)
 {
     filePath = xmlFilePath;
     WriteMetaDataDocument();
     var document = XDocument.Load(filePath);
     document = new CompoundContentCreator().AddCompoundElementsToDocument(document);
     document.Save(filePath);
     return document;
 }
Exemple #2
0
        public XDocument CreateAndLoad(string xmlFilePath)
        {
            filePath = xmlFilePath;
            WriteMetaDataDocument();
            var document = XDocument.Load(filePath);

            document = new CompoundContentCreator().AddCompoundElementsToDocument(document);
            document.Save(filePath);
            return(document);
        }