String dataDir = Utils.getSharedDataDir(AddChildNode.class) + "Notebook/"; // Load a OneNote Notebook Notebook notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2"); // Append a new child to the Notebook notebook.appendChild(new Document(dataDir + "Neuer Abschnitt 1.one")); dataDir = dataDir + "AddChildNodetoOneNoteNotebook_out.onetoc2"; // Save the Notebook notebook.save(dataDir);