{
// XCAP 8.2.1. Locating the Parent
String parent = locatingParent(resource, nodeSelector,
xcapUri.getDocumentSelector(), requestUrlHead);
resource.setCreation(true);
NodeType nodeType;
String nodeName = nodeSelector.substring(parent.length());
// /@id is an attribute and /service[@id="1"] is an
// element
if (nodeName.indexOf('@') != -1
&& nodeName.indexOf('[') == -1)