}
// now create the base profile containing the above profiles
profileDoc = DOMUtil.createDocument();
profile = profileDoc.createDocumentFragment();
profileRoot = profileDoc.createElementNS(null, "profile");
profile.appendChild(profileRoot);
profileRoot.appendChild(profileDoc.importNode(DOMUtil.selectSingleNode(layoutFragment,
"layout-profile"), true));
profileRoot.appendChild(profileDoc.importNode(DOMUtil.selectSingleNode(copletsFragment,
"coplets-profile"), true));