public String loadFullDocumentTextToString(String sDocID){
  Node nDoc=XMLDoc.getElementById(sDocID);
  if (nDoc == null)   return null;
  Element eDoc=(Element)nDoc;
  String sRes=eDoc.getTextContent();
  return sRes;
}

public String loadFullDocumentTextToString ( String sDocID ) { Node nDoc = XMLDoc . getElementById ( sDocID ) ; if ( nDoc == null ) return null ; Element eDoc = ( Element ) nDoc ; String sRes = eDoc . getTextContent ( ) ; return sRes ; }
returns the full text of a given document , including dateline and other elements as a string . tags are removed .
