If what you're trying to achieve is file like this:
<Student><ID>><&\</ID></Student>
Then you're doing it wrong. It's not a well-formed XML and no parser is going to work with it.
If what you're trying to achieve is file like this:
<Student><ID>><&\</ID></Student>
Then you're doing it wrong. It's not a well-formed XML and no parser is going to work with it.