I would like to know how to replace a particular text which is there across the XML file. Sample: <General> <id extension="0" [b]root="1.366680386.0" [/b]/> </General> <Corporate> <id extension="0" root="1.366680386.0" /> </Corporate> need to replace the text under the "root". Please share code/suggest how to go ahead