Esempio n. 1
0
        private XElement ManifestToXElement()
        {
            var root      = new XElement(Epub.PackageNs + "manifest");
            var opfFolder = OpfFileName.GetZipPath();

            foreach (var item in Manifest)
            {
                root.Add(item.ToXElement(opfFolder));
            }
            return(root);
        }
Esempio n. 2
0
        private XElement GuideToXElement()
        {
            var root      = new XElement(Epub.PackageNs + "guide");
            var opfFolder = OpfFileName.GetZipPath();

            foreach (var reference in Guide)
            {
                root.Add(reference.ToXElement(opfFolder));
            }
            return(root);
        }