ItsNatDocument itsNatDoc = request.getItsNatDocument();
Document doc = itsNatDoc.getDocument();
Element cdListElem = ItsNatTreeWalker.getLastChildElement(doc.getDocumentElement());
ItsNatDocFragmentTemplate docFragDesc = request.getItsNatServlet().getItsNatDocFragmentTemplate("test_xml_fragment");
DocumentFragment fragment = docFragDesc.loadDocumentFragment(itsNatDoc);
doc.getDocumentElement().insertBefore(fragment,cdListElem);
ElementGroupManager factory = itsNatDoc.getElementGroupManager();
ElementList discList = factory.createElementList(cdListElem,true);