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

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