In your case it's related to quotes not to backslash. Strings are always displayed under quotes. How you will display quotes inside string except with backslash+quote
In general, if you remove \ from the string, use next code:
But need to extract some data from xml because of single quote it does not take it as a xml in to find the XPATH again I wanted to replace the single quotes with double quotes
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.