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); }
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); }