Document original = DomParser.parseResource(CONFIG_FILE);
for (Element f : Elements.matching("/Functions/Category/Function", original)) {
removeChild(f, "Description");
removeChild(f, "Example");
}
XmlFileWriter writer = new XmlFileWriter();
writer.write(original, OUTPUT);
}