I'm getting an xml document from a PHP script.
The XML schema looks something like this:
<Items>
<Item>
<ID>
123g8fdg
</ID>
<Name>
Michael
</Name>
<Note>
Some notes, for example a small xml snippet: <randomxml><...
</Note>
</Item>
</Items>
The Note node could have any value (even an XML snippet) While trying on getting the following XML data back from the server, I noticed, that the C# LoadXML function fails if the Note is the following:
"Finish date <= Start date + 1 year"
The "<" character breaks it up (I can see that even in the C# XML Visualizer while debugging)
Any ways to ignore any specific XML element in the notes section, so it doesn't interfere with the parser and basic structure?