question: 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 ; }
target:  Returns the full text of a given document, including dateline and other  elements as a String. Tags are removed.