View Single Post
  #3 (permalink)  
Old 03-27-2008, 05:21 PM
DonCash's Avatar
DonCash DonCash is offline
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 237
DonCash will become famous soon enoughDonCash will become famous soon enough
How about using String replace?

Code:
if (yourString.contains("&lt;")){ yourString = yourString.replaceAll("&lt;","<"); } System.out.println(yourString);
You could read in the data and replace the characters then re-write out the .xml and everything will be correctly formatted.
Reply With Quote