XmlToJson
XmlToJson copied to clipboard
To check: when a tag contains "<" or ">"
Received from LinkedIn:
[...] when one of the tag's content contains "<", ">" symbols, it will cut the text off. Like <Abstract> mast cell (p < 0.001) infiltration</Abstract>. The output will be {"Abstract" : "infiltration" }
The "<" character is not valid in a xml file and must be escaped.
See: https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents