question: clone a document so it can be safely modified on a per-request basis . concode_field_sep String HTML_STRICT concode_elem_sep Charset ENC concode_field_sep void compact concode_elem_sep byte[] compress concode_elem_sep Element find concode_elem_sep String readFile concode_elem_sep String readFile concode_elem_sep Document parseFile concode_elem_sep Document parseFile concode_elem_sep byte[] toUTF8 concode_elem_sep String toString concode_elem_sep void addHidden concode_elem_sep DocumentBuilder newBuilder concode_elem_sep Document newDocument
target: Document function ( Document arg0 ) { Document loc0 ; try { loc0 = newBuilder ( ) . newDocument ( ) ; } catch ( ParserConfigurationException loc1 ) { throw new IOException ( "srini_string" ) ; } Node loc2 = loc0 . importNode ( arg0 . getDocumentElement ( ) , true ) ; loc0 . appendChild ( loc2 ) ; return loc0 ; }