code: final static public Element newElement(QualifiedName elementName, String value, QualifiedName type) {
  	org.w3c.dom.Document doc = builder.newDocument();
  	String qualifiedNameString;
  	
  
  	qualifiedNameString= qualifiedNameToString(elementName.toQName());
  
  	Element el = doc.createElementNS(elementName.getNamespaceURI(),
  	                                 qualifiedNameString);
  	el.setAttributeNS(NamespacePrefixMapper.XSI_NS, "xsi:type", qualifiedNameToString(type));
  	//if (withNullLocal || withDigit) {
  	//    el.setAttributeNS(NamespacePrefixMapper.PROV_NS, "prov:local", localPart);
  	//}
  	el.appendChild(doc.createTextNode(value));
  	doc.appendChild(el);
  	return el;
      }
docs: Creates a DOM {@link Element} for a {@link QualifiedName} and content given by value and type
  @param elementName a {@link QualifiedName} to denote the element name
  @param value for the created {@link Element}
  @param type of the value
  @return a new {@link Element}