public static Element createElementInSignature11Space(Document doc,String elementName){
  if (doc == null) {
    throw new RuntimeException("Document is null");
  }
  if ((ds11Prefix == null) || (ds11Prefix.length() == 0)) {
    return doc.createElementNS(Constants.SignatureSpec11NS,elementName);
  }
  return doc.createElementNS(Constants.SignatureSpec11NS,ds11Prefix + ":" + elementName);
}

public static Element createElementInSignature11Space ( Document doc , String elementName ) { if ( doc == null ) { throw new RuntimeException ( "Document is null" ) ; } if ( ( ds11Prefix == null ) || ( ds11Prefix . length ( ) == 0 ) ) { return doc . createElementNS ( Constants . SignatureSpec11NS , elementName ) ; } return doc . createElementNS ( Constants . SignatureSpec11NS , ds11Prefix + ":" + elementName ) ; }
creates an element in the xml signature 1 . 1 specification namespace .
