public Element createXmlElement(Document doc,String id) throws Exception {
  Element manifestElement=doc.createElement(Helper.PREFIX_DS + Constants._TAG_MANIFEST);
  manifestElement.setAttribute(Constants._ATT_ID,id);
  for (  MessagePart r : references) {
    manifestElement.appendChild(createReference(doc,r));
  }
  return manifestElement;
}

public Element createXmlElement ( Document doc , String id ) throws Exception { Element manifestElement = doc . createElement ( Helper . PREFIX_DS + Constants . _TAG_MANIFEST ) ; manifestElement . setAttribute ( Constants . _ATT_ID , id ) ; for ( MessagePart r : references ) { manifestElement . appendChild ( createReference ( doc , r ) ) ; } return manifestElement ; }
returns the xml element for this manifest .
