I have a really big XML files and somehow they fail validation as user's used <
and >
instead of <
and >
in attributes.
Is there a way in C# .Net Core to replace all the <
and >
with <
and >
quickly?
I have XML like so:
<?xml version="1.0" encoding="utf-8"?>
<rootXML test="b < a">
<inside anotherTest="i could have < and > in here">Hello < all</inside>
</tootXML>
The hard part is I don't know where the < and > are and the XMLs can be quite different.
Thanks.