I am trying to parse XML files that contain special characters as &
, "
, '
, <
or >
in the data. I would like to know how to do it properly.
NB: the files are quite huge and I do not have the hand on them to modify them. So I am looking for an automated way to transform the file before parsing it, such as using regular expressions or other stuff like them.