// Call GetSchemaInfo to place schema titles and codelists into
// xpath /root/gui/schemas/{} for xsl transformation to use
org.jdom.Element root = new org.jdom.Element(Jeeves.Elem.ROOT);
org.jdom.Element gui = new org.jdom.Element(Jeeves.Elem.GUI);
GetSchemaInfo gsi = new GetSchemaInfo();
gui.addContent(gsi.exec(new org.jdom.Element(Jeeves.Elem.REQUEST), cnt.getSrvctx()));
root.addContent(gui);
org.jdom.Element metadata = new org.jdom.Element(Geonet.Elem.METADATA);
metadata.addContent(jdomDoc.detachRootElement());
root.addContent(metadata);