public static Element addChildElementNSElement(Element element,String childElementName,Document document,String nameSpaceUrl){
  Element newElement=document.createElementNS(nameSpaceUrl,childElementName);
  element.appendChild(newElement);
  return element;
}

public static Element addChildElementNSElement ( Element element , String childElementName , Document document , String nameSpaceUrl ) { Element newElement = document . createElementNS ( nameSpaceUrl , childElementName ) ; element . appendChild ( newElement ) ; return element ; }
creates a child element with the given namespace supportive name and appends it to the element child node list .
