public static EmpDocument Create(MondaiDocument mondaiDocument)
        {
            var result = new FishDocument();
            var documentElement = new FishElement("document");
            documentElement.Items.Add(new FishElement("id", mondaiDocument.Id));
            documentElement.Items.Add(new FishElement("title", mondaiDocument.Name));
            result.Items.Add(documentElement);

            documentElement.Items.AddRange
            (
                mondaiDocument.Items.Select(daimon =>
                {
                    var daimonElement = new FishElement("daimon");
                    daimonElement.Items.Add(new FishElement("id", daimon.Id));
                    daimonElement.Items.Add(new FishElement("title", daimon.Name));
                    daimonElement.Items.AddRange
                    (
                        daimon.Items.Select(chumon =>
                        {
                            var chumonElement = new FishElement("chumon");
                            chumonElement.Items.Add(new FishElement("id", chumon.Id));
                            chumonElement.Items.Add(new FishElement("title", chumon.Name));
                            if (chumon.IsShuffled)
                            {
                                chumonElement.Items.Add(new FishElement("shuffle", "true"));
                            }
                            if (chumon.IsOptional)
                            {
                                chumonElement.Items.Add(new FishElement("optional", "true"));
                            }
                            chumonElement.Items.AddRange(chumon.HelpIds.Select(helpId => new FishElement("helpId", helpId)));
                            chumonElement.Items.AddRange
                            (
                                chumon.Items.Select(mondai =>
                                {
                                    var shomon = mondai as Shomon;
                                    if (null != shomon)
                                    {
                                        return Create(shomon);
                                    }
                                    var ankimon = mondai as Ankimon;
                                    if (null != ankimon)
                                    {
                                        return Create(ankimon);
                                    }
                                    throw new ApplicationException();
                                })
                            );
                            return chumonElement;
                        })
                    );
                    return daimonElement;
                })
            );

            var emp = new EmpDocument();
            emp._fishDocument = result;
            return emp;
        }
 public static EmpDocument Load(string path)
 {
     var result = new EmpDocument();
     result.MondaiDocument = _fileManager.Load(path);
     result.FishDocument = FishDocument.Load(path);
     return result;
 }